View | Details | Raw Unified | Return to bug 60544
Collapse All | Expand All

(-)getenv.3.new (+7 lines)
Lines 116-121 Link Here
116
from the list.
116
from the list.
117
.Sh RETURN VALUES
117
.Sh RETURN VALUES
118
.Rv -std setenv putenv
118
.Rv -std setenv putenv
119
.Pp
120
The
121
.Fn getenv
122
function returns NULL if the environment variable was not found.
123
If the variable was found, it returns the value of the variable
124
as a NULL terminated string.  This string should not be modified
125
or freed.
119
.Sh ERRORS
126
.Sh ERRORS
120
.Bl -tag -width Er
127
.Bl -tag -width Er
121
.It Bq Er ENOMEM
128
.It Bq Er ENOMEM

Return to bug 60544