Manual page for ENVIRON(5V)
environ - user environment
extern char **environ;
An array of strings called the `environment' is made available by
when a process begins. By convention these strings have the form
The following names are used by various commands:
The sequence of directory prefixes that
etc., apply in searching for a file known by an incomplete path name.
The prefixes are separated by
The name of the user's login directory, set by
from the password file
The type of terminal on which the user is logged in.
This information is used by commands, such as
which may exploit special terminal capabilities. See
for a list of terminal types.
The path name of the user's login shell.
The string describing the terminal in
or the name of the
A startup list of commands read by
The user's login name.
The name of the time zone that the user is located in. If
is not present in the environment, the system's default time zone,
normally the time zone that the computer is located in, is used.
Further names may be placed in the environment by the
or by the
command if you use
Arguments may also be placed in the environment at the point of an
It is unwise to conflict with certain
variables that are frequently exported by
Various names are expected to be defined and used by
locale dependent commands and functions
SYSTEM V DESCRIPTION
The description of the variable
does not apply to programs built in the System V environment.
Created by unroff & hp-tools.
© by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97