GETENV(3) GETENV(3) NAME getenv - value for environment name SYNOPSIS char *getenv(name) char *name; DESCRIPTION Getenv searches the environment list (see environ(5)) for a string starting with name=. If no such a string is found, 0 is returned. Otherwise, the address of the character fol- lowing the `=' is returned. SEE ALSO printenv(1), environ(5), exec(2) BUGS Getenv ignores shell functions; see sh(1).