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

  man pages->IRIX man pages -> ftn/getenv (3)              
Title
Content
Arch
Section
 

Contents


GETENV(3F)							    GETENV(3F)


NAME    [Toc]    [Back]

     getenv - get value	of environment variable

SYNOPSIS    [Toc]    [Back]

     subroutine	getenv(	ename, evalue )

     character *(*) ename, evalue

DESCRIPTION    [Toc]    [Back]

     getenv returns the	character-string value of the environment variable
     represented by its	first argument into the	character variable of its
     second argument.  If no such environment variable exists, all blanks will
     be	returned.

SEE ALSO    [Toc]    [Back]

      
      
     getenv(3C), environ(5).
getenv(3C)							    getenv(3C)


NAME    [Toc]    [Back]

     getenv - return value for environment name

SYNOPSIS    [Toc]    [Back]

     #include <stdlib.h>

     char *getenv (const char *name);

DESCRIPTION    [Toc]    [Back]

     getenv searches the environment list [see environ(5)] for a string	of the
     form name<b>=value and, if the string	is present, returns a pointer to the
     value in the current environment.	Otherwise, it returns a	null pointer.

SEE ALSO    [Toc]    [Back]

      
      
     exec(2), putenv(3C), environ(5).


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
pam_putenv FreeBSD set the value of an environment variable
getenv Linux get an 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