Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getenv(3C) — posix — mips UMIPS RISC/os 4.52

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

exec(2)

putenv(3C)

environ(5)



GETENV(3C-POSIX)    RISC/os Reference Manual     GETENV(3C-POSIX)



NAME
     getenv - return value for environment name

SYNOPSIS
     #include <stdlib.h>

     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.

CAVEAT
     The return value points to static data whose content is
     overwritten by each call.

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


































                         Printed 1/15/91                   Page 1



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