AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox

01.01.2013 Views

GETENV (3C) NAME getenv - return value for environment name SYNOPSIS char •getenv (name) char •name; GETENV (3C) DESCRIPTION Getenv searches the environment Jist (see environ(5)) for a string of the form name=value , and returns a pointer to the value in the current environment if such a string is present, otherwise a NULL pointer. SEE ALSO environ(5). - 1-

GETENV (3C)<br />

NAME<br />

getenv - return value for environment name<br />

SYNOPSIS<br />

char •getenv (name)<br />

char •name;<br />

GETENV (3C)<br />

DESCRIPTION<br />

Getenv searches the environment Jist (see environ(5)) for a string<br />

of the form name=value , and returns a pointer to the value in<br />

the current environment if such a string is present, otherwise a<br />

NULL pointer.<br />

SEE ALSO<br />

environ(5).<br />

- 1-

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!