POSIX Single Process option group.
More...
|
| int | setenv (const char *envname, const char *envval, int overwrite) |
| | Set the value of an environment variable.
|
| |
| int | unsetenv (const char *name) |
| | Remove an environment variable.
|
| |
| int | uname (struct utsname *name) |
| | Get the name of the current system.
|
| |
| size_t | confstr (int name, char *buf, size_t len) |
| | Determine the value of a configurable system variable by name string.
|
| |
| int | getentropy (void *buffer, size_t length) |
| | Fill a buffer with cryptographically secure random bytes.
|
| |
| int | gethostname (char *name, size_t namelen) |
| | Get the name of the current host.
|
| |
| long | sysconf (int opt) |
| | Get a configurable system variable.
|
| |
POSIX Single Process option group.
Covers confstr(), sysconf(), gethostname(), getentropy(), and related single-process environment functions.
◆ confstr()
| size_t confstr |
( |
int |
name, |
|
|
char * |
buf, |
|
|
size_t |
len |
|
) |
| |
◆ getentropy()
| int getentropy |
( |
void * |
buffer, |
|
|
size_t |
length |
|
) |
| |
◆ gethostname()
| int gethostname |
( |
char * |
name, |
|
|
size_t |
namelen |
|
) |
| |
◆ setenv()
| int setenv |
( |
const char * |
envname, |
|
|
const char * |
envval, |
|
|
int |
overwrite |
|
) |
| |
◆ sysconf()
◆ uname()
◆ unsetenv()
| int unsetenv |
( |
const char * |
name | ) |
|