4.1cBSD/usr/man/man3/getenv.3

Compare this file to the similar file:
Show the results in this format:

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