NAME
getenv - Returns the value of an environment variable
LIBRARY
Standard C Library (libc.a)
SYNOPSIS
#include <stdlib.h>
char *getenv (
const char *name );
PARAMETERS
name Specifies the name of an environment variable.
DESCRIPTION
The getenv() function searches the environment list for a
string of the form name=value, and returns a pointer to a
string containing the corresponding value for name.
NOTES
AES Support Level: Full use
RETURN VALUES
The getenv() function returns a pointer to a string contain-
ing the value in the current environment if such a string is
present. If such a string is not present, a null pointer is
returned.
The returned string should not be modified by the applica-
tion, and may be overwritten or changed as a result of the
putenv(), setenv(), or unsetenv() functions.
RELATED INFORMATION
Functions: putenv(3), clearenv(3)
Commands: sh(1)
Acknowledgement and Disclaimer