4.3BSD-UWisc/man/cat3/getenv.3

Compare this file to the similar file:
Show the results in this format:




GETENV(3)           UNIX Programmer's Manual            GETENV(3)



NAME
     getenv - value for environment name

SYNOPSIS
     char *getenv(name)
     char *name;

DESCRIPTION
     _G_e_t_e_n_v searches the environment list (see _e_n_v_i_r_o_n(7)) for a
     string of the form _n_a_m_e=_v_a_l_u_e and returns a pointer to the
     string _v_a_l_u_e if such a string is present, otherwise _g_e_t_e_n_v
     returns the value 0 (NULL).

SEE ALSO
     environ(7), execve(2)








































Printed 12/27/86          May 15, 1985                          1