logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

notcurses_util - portable utility functions

Authors

       nick black <nickblack@linux.com>.

                                                     v3.0.7                                    notcurses_util(3)

Description

       Notcurses provides some utility functions, usually to abstract away platform-dependent differences.

       notcurses_accountname  returns  a heap-allocated copy of the account name under which the program is run‐
       ning.  notcurses_hostname returns a heap-allocated copy of the local host name.  notcurses_osversion  re‐
       turns a heap-allocated human-readable representation of the operating system and its version.

Name

       notcurses_util - portable utility functions

Notes

Return Values

       All functions return NULL on error.

See Also

hostname(1), notcurses(3)

Synopsis

#include<notcurses/notcurses.h>char*notcurses_accountname(void);char*notcurses_hostname(void);char*notcurses_osversion(void);

See Also