*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> getenv (3)              
Title
Content
Arch
Section
 

GETENV(3)

Contents


NAME    [Toc]    [Back]

       getenv - get an environment variable

SYNOPSIS    [Toc]    [Back]

       #include <stdlib.h>

       char *getenv(const char *name);

DESCRIPTION    [Toc]    [Back]

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

RETURN VALUE    [Toc]    [Back]

       The  getenv()  function	returns a pointer to the value in the environment,
 or NULL if there is no match.

CONFORMING TO    [Toc]    [Back]

       SVID 3, POSIX, BSD 4.3, ISO 9899

SEE ALSO    [Toc]    [Back]

      
      
       putenv(3), setenv(3), unsetenv(3), environ(7)



GNU				  1993-04-03			     GETENV(3)
[ Back ]
 Similar pages
Name OS Title
pam_putenv FreeBSD set the value of an environment variable
getenv IRIX get value of environment variable
getenv Tru64 Return the value of an environment variable
pam_getenv FreeBSD retrieve the value of a PAM environment variable
getenv OpenBSD environment variable functions
setenv OpenBSD environment variable functions
getenv FreeBSD environment variable functions
getenv NetBSD environment variable functions
setenv NetBSD environment variable functions
unsetenv NetBSD environment variable functions
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service