Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getenv(3C) — HP-UX 5.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

exec(2)

putenv(3C)

environ(5)

GETENV(3C)  —  HP-UX

NAME

getenv − return value for environment name

SYNOPSIS

char ∗getenv (name)
char ∗name;

DESCRIPTION

Getenv searches the environment list (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.  Name may be either the desired name, null-terminated, or of the form name=value, in which case getenv uses the portion to the left of the "=" as the search key. 

SEE ALSO

exec(2), putenv(3C), environ(5). 

Hewlett-Packard Company  —  Version B.1,  April 12, 1993

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026