nightmaremail

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

env.3 (600B)


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