summaryrefslogtreecommitdiff
path: root/src/stdlib/getenv_s.c
blob: 3290477953d2b302be22daa9ddd1873444aa8af6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#if 0

#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)
*/


#endif