BSD 3 development
[unix-history] / usr / man / man3 / getenv.3
CommitLineData
e6817382
BJ
1.TH GETENV 3
2.SH NAME
3getenv \- value for environment name
4.SH SYNOPSIS
5.B char *getenv(name)
6.br
7.B char *name;
8.SH DESCRIPTION
9.I Getenv
10.a
11searches the environment list
12(see
13.IR environ (5))
14for a string of the form
15.IB name = value
16and returns
17.I value
18if such a string is present, otherwise 0 (NULL).
19.SH SEE ALSO
20environ(5), exec(2)