notcurses_util(3)
π¦ notcurses_util(3) β portable utility functions β¨
πΈ NAME
notcurses_util β portable utility functions, periodt π
β¨ SYNOPSIS
#include <notcurses/notcurses.h>
char* notcurses_accountname(void);
char* notcurses_hostname(void);
char* notcurses_osversion(void);
π DESCRIPTION
Notcurses provides some utility functions, usually to abstract away platform-dependent differences β so you don't have to personally wrestle the platform gremlins, bestie π«Ά.
notcurses_accountnameβ returns a heap-allocated copy of the account name under which the program is running. πnotcurses_hostnameβ returns a heap-allocated copy of the local host name. π¦notcurses_osversionβ returns a heap-allocated human-readable representation of the operating system and its version. π
π NOTES
There are no notes here, bestie. This section is literally empty β it's giving minimalist main character energy πβ¨.
π«Ά RETURN VALUES
All functions return NULL on error. Every single one. No cap π.
π SEE ALSO
Go check those out β iykyk π₯π
π AUTHORS
nick black β nickblack@linux.com π«Ά
That's the footer tea, bestie: source/manual notcurses_util(3), version v3.0.17, and no date printed on this page β so I'm not inventing one ππ
π¦ where this page comes from
- alpine 3.24: notcurses-doc 3.0.17-r0 Β· Apache-2.0
- ubuntu resolute: libnotcurses-core-dev 3.0.17+dfsg-3 Β· Apache-2.0
- ubuntu stonking: libnotcurses-core-dev 3.0.17+dfsg-3 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms