posix-next API 0.1.0
Out-of-tree Zephyr POSIX module
Loading...
Searching...
No Matches
stdlib.h File Reference

<stdlib.h>: POSIX extensions to the C standard library More...

#include <stddef.h>
Include dependency graph for posix_stdlib.h:

Go to the source code of this file.

Functions

int getenv_r (const char *name, char *buf, size_t len)
 Get an environment variable into a caller-supplied buffer (BSD extension).
 
int getsubopt (char **optionp, char *const *keylistp, char **valuep)
 Parse sub-options from a command-line argument string.
 
int putenv (char *string)
 Add or change an environment variable (XSI extension).
 
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.
 

Detailed Description

<stdlib.h>: POSIX extensions to the C standard library

Provides POSIX and XSI extensions to the standard <stdlib.h> interface, including environment variable manipulation and sub-option parsing.

See also
POSIX.1-2017 <stdlib.h>

Definition in file stdlib.h.