GETENV(3) — C LIBRARY FUNCTIONS
NAME
getenv − return value for environment name
SYNOPSIS
char ∗getenv(name)
char ∗name;
DESCRIPTION
getenv() searches the environment list (see environ(5V)) for a string of the form name=value, and returns a pointer to the string value if such a string is present, otherwise NULL pointer.
SEE ALSO
environ(5V), execve(2), putenv(3)
Sun Release 4.0 — Last change: 6 October 1987