1GETENV(3)                  Linux Programmer's Manual                 GETENV(3)
2
3
4

NAME

6       getenv - get an environment variable
7

SYNOPSIS

9       #include <stdlib.h>
10
11       char *getenv(const char *name);
12

DESCRIPTION

14       The  getenv()  function searches the environment list for a string that
15       matches the string pointed to by name.  The strings  are  of  the  form
16       name = value.
17

RETURN VALUE

19       The  getenv()  function  returns a pointer to the value in the environā€
20       ment, or NULL if there is no match.
21

CONFORMING TO

23       SVr4, POSIX.1-2001, 4.3BSD, C89, C99.
24

SEE ALSO

26       clearenv(3), putenv(3), setenv(3), unsetenv(3), environ(7)
27
28
29
30GNU                               1993-04-03                         GETENV(3)
Impressum