.TH GETENV 3 .SH NAME getenv \- value for environment name .SH SYNOPSIS .B char *getenv(name) .br .B char *name; .SH DESCRIPTION .I Getenv .a searches the environment list (see .IR environ (5)) for a string of the form .IB name = value and returns .I value if such a string is present, otherwise NULL. .SH SEE ALSO execve(2), exec(3), environ(5)