|
|
1.1 root 1: .TH GETENV 3
2: .CT 2 data_man
3: .SH NAME
4: getenv \(mi value for environment name
5: .SH SYNOPSIS
6: .nf
7: .B char *getenv(name)
8: .B char *name;
9: .fi
10: .SH DESCRIPTION
11: .I Getenv
12: searches the environment list
13: (see
14: .IR environ (5))
15: for a string starting with
16: \fIname\fL=\fR.
17: If no such a string is found, 0
18: is returned.
19: Otherwise,
20: the address of the character following the
21: .L =
22: is returned.
23: .SH SEE ALSO
24: .IR printenv (1),
25: .IR environ (5),
26: .IR exec (2)
27: .SH BUGS
28: .I Getenv
29: ignores shell functions; see
30: .IR sh (1).
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.