debian/rules: Use `git' potty wrapper.
[qmail] / env.3
CommitLineData
2117e02e
MW
1.TH env 3
2.SH NAME
3env \- manage the environment
4.SH SYNTAX
5.B #include <env.h>
6
7char **\fBenviron\fP;
8
9char *\fBenv_get\fP(\fIname\fR);
10.br
11char *\fBenv_pick\fP();
12
13char *\fIname\fR;
14.SH DESCRIPTION
15The environment,
16.BR environ ,
17is a 0-terminated array of 0-terminated strings,
18called environment variables.
19Each environment variable is of the form
20.IR name\fB=\fIvalue .
21
22.B env_get
23returns the value of the first variable whose name is
24.IR name ,
25or 0 if there is no such variable.
26
27.B env_pick
28returns any variable in the environment,
29or 0 if the environment is empty.
30.SH "SEE ALSO"
31environ(7)