Plan 9 from Bell Labs’s /usr/web/sources/contrib/anothy/src/lib/djb-ape/unix/env.3

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


.TH env 3
.SH NAME
env \- manage the environment
.SH SYNTAX
.B #include <env.h>

char **\fBenviron\fP;

char *\fBenv_get\fP(\fIname\fR);

char *\fIname\fR;
.SH DESCRIPTION
The environment,
.BR environ ,
is a 0-terminated array of 0-terminated strings,
called environment variables.
Each environment variable is of the form
.IR name\fB=\fIvalue .

.B env_get
returns the value of the first variable whose name is
.IR name ,
or 0 if there is no such variable.

.SH "SEE ALSO"
environ(7)

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].