GETENV(3) DOMAIN/IX BSD4.2 GETENV(3)
NAME
getenv - get the value of an environment variable
USAGE
char *getenv(name)
char *name;
DESCRIPTION
Getenv searches through the list of environment variables
for a string of the form:
name=value
If it finds an entry, getenv returns a pointer to the null-
terminated string value. If it cannot find an entry for
name, getenv returns the value zero (NULL).
RELATED INFORMATION
execve(2)
Printed 12/4/86 GETENV-1