GETENV(3F) GETENV(3F)
getenv - get value of environment variable
subroutine getenv( ename, evalue )
character *(*) ename, evalue
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.
getenv(3C), environ(5).
getenv(3C) getenv(3C)
getenv - return value for environment name
#include <stdlib.h>
char *getenv (const char *name);
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.
exec(2), putenv(3C), environ(5).
PPPPaaaaggggeeee 1111 [ Back ]
|