unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (4.2BSD)
Page:
Section:
Apropos / Subsearch:
optional field

GETENV(3)                  Library Functions Manual                  GETENV(3)



NAME
       getenv - value for environment name

SYNOPSIS
       char *getenv(name)
       char *name;

DESCRIPTION
       Getenv  searches  the environment list (see environ(7)) for a string of
       the form name=value and returns a pointer to the string value if such a
       string is present, otherwise getenv returns the value 0 (NULL).

SEE ALSO
       environ(7), execve(2)



                                19 January 1983                      GETENV(3)