diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 21:07:28 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 21:07:28 -0400 |
| commit | 711594636704defae873be1a355a292505585afd (patch) | |
| tree | 59ee13f863830d8beba6cfd02bbe813dd486c26f /static/v10/man3/getenv.3 | |
| parent | 3258a063c1f189d7b019e40e525b46bef9b9a7b1 (diff) | |
docs: Added UNIX V10 Manuals
Diffstat (limited to 'static/v10/man3/getenv.3')
| -rw-r--r-- | static/v10/man3/getenv.3 | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/static/v10/man3/getenv.3 b/static/v10/man3/getenv.3 new file mode 100644 index 00000000..02ca41e0 --- /dev/null +++ b/static/v10/man3/getenv.3 @@ -0,0 +1,30 @@ +.TH GETENV 3 +.CT 2 data_man +.SH NAME +getenv \(mi value for environment name +.SH SYNOPSIS +.nf +.B char *getenv(name) +.B char *name; +.fi +.SH DESCRIPTION +.I Getenv +searches the environment list +(see +.IR environ (5)) +for a string starting with +\fIname\fL=\fR. +If no such a string is found, 0 +is returned. +Otherwise, +the address of the character following the +.L = +is returned. +.SH SEE ALSO +.IR printenv (1), +.IR environ (5), +.IR exec (2) +.SH BUGS +.I Getenv +ignores shell functions; see +.IR sh (1). |
