summaryrefslogtreecommitdiff
path: root/static/unix-v10/man3/getenv.3
diff options
context:
space:
mode:
Diffstat (limited to 'static/unix-v10/man3/getenv.3')
-rw-r--r--static/unix-v10/man3/getenv.330
1 files changed, 30 insertions, 0 deletions
diff --git a/static/unix-v10/man3/getenv.3 b/static/unix-v10/man3/getenv.3
new file mode 100644
index 00000000..02ca41e0
--- /dev/null
+++ b/static/unix-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).