diff options
Diffstat (limited to 'src/stdlib/getenv_s.c')
-rw-r--r-- | src/stdlib/getenv_s.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/stdlib/getenv_s.c b/src/stdlib/getenv_s.c new file mode 100644 index 00000000..88156c1e --- /dev/null +++ b/src/stdlib/getenv_s.c @@ -0,0 +1,27 @@ +#include <string.h> +#include "stdlib.h" + +/** get an environment variable **/ +errno_t getenv_s(size_t * restrict len, char * restrict value, rsize_t maxsize, const char * restrict name) +{ + __C_EXT(1, 201112L); + return 0; +} + +/*** +The fn(getenv) function read the environment variable arg(name) from the host +environment. +***/ + +/* UNSPECIFIED: - */ +/* UNDEFINED: modifying the returned string */ +/* IMPLEMENTATION: the set of environment variable names */ +/* IMPLEMENTATION: the method of altering the environment */ +/* LOCALE: - */ + +/* RETURN(NULL): the environment variable could not be found */ +/* RETURN: the value of the requested environment variable */ + +/* +CEXT1(201112) +*/ |