source: trunk/minix/man/man3/getenv.3@ 11

Last change on this file since 11 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 502 bytes
Line 
1.\" @(#)getenv.3 6.1 (Berkeley) 5/15/85
2.\"
3.TH GETENV 3 "May 15, 1985"
4.AT 3
5.SH NAME
6getenv \- value for environment name
7.SH SYNOPSIS
8.nf
9.ft B
10#include <stdlib.h>
11
12char *getenv(const char *\fIname\fP)
13.ft R
14.fi
15.SH DESCRIPTION
16.B Getenv
17searches the environment list
18(see
19.BR environ (7))
20for a string of the form
21.IB name = value
22and returns a pointer to the string
23.I value
24if such a string is present, otherwise
25.B getenv
26returns the null pointer.
27.SH SEE ALSO
28.BR environ (7),
29.BR execve (2).
Note: See TracBrowser for help on using the repository browser.