1notcurses_util(3)                                            notcurses_util(3)
2
3
4

NAME

6       notcurses_util - portable utility functions
7

SYNOPSIS

9       #include <notcurses/notcurses.h>
10
11       char* notcurses_accountname(void);
12
13       char* notcurses_hostname(void);
14
15       char* notcurses_osversion(void);
16

DESCRIPTION

18       Notcurses  provides  some  utility  functions, usually to abstract away
19       platform-dependent differences.
20
21       notcurses_accountname returns a heap-allocated copy of the account name
22       under which the program is running.  notcurses_hostname returns a heap-
23       allocated copy of the local host name.  notcurses_osversion  returns  a
24       heap-allocated  human-readable  representation  of the operating system
25       and its version.
26

NOTES

RETURN VALUES

29       All functions return NULL on error.
30

SEE ALSO

32       hostname(1), notcurses(3)
33

AUTHORS

35       nick black <nickblack@linux.com>.
36
37
38
39                                    v3.0.8                   notcurses_util(3)
Impressum