vm: use assert() instead of vm_assert(); remove vm_assert().
[minix.git] / man / man3 / getenv.3
blob78c282d2dade8891a8205f20786ac167706fff87
1 .\"     @(#)getenv.3    6.1 (Berkeley) 5/15/85
2 .\"
3 .TH GETENV 3 "May 15, 1985"
4 .AT 3
5 .SH NAME
6 getenv \- value for environment name
7 .SH SYNOPSIS
8 .nf
9 .ft B
10 #include <stdlib.h>
12 char *getenv(const char *\fIname\fP)
13 .ft R
14 .fi
15 .SH DESCRIPTION
16 .B Getenv
17 searches the environment list
18 (see
19 .BR environ (7))
20 for a string of the form
21 .IB name = value
22 and returns a pointer to the string
23 .I value
24 if such a string is present, otherwise 
25 .B getenv
26 returns the null pointer.
27 .SH SEE ALSO
28 .BR environ (7),
29 .BR execve (2).