mirror of https://github.com/mkerrisk/man-pages
setenv.3: wfix
Both functions behave the same wrt return value, no need to describe them separately. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
3f298932bd
commit
483368b3b1
|
@ -104,16 +104,10 @@ If
|
|||
does not exist in the environment,
|
||||
then the function succeeds, and the environment is unchanged.
|
||||
.SH RETURN VALUE
|
||||
The
|
||||
.BR setenv ()
|
||||
function returns zero on success,
|
||||
or \-1 on error, with
|
||||
.I errno
|
||||
set to indicate the cause of the error.
|
||||
.PP
|
||||
The
|
||||
and
|
||||
.BR unsetenv ()
|
||||
function returns zero on success,
|
||||
functions return zero on success,
|
||||
or \-1 on error, with
|
||||
.I errno
|
||||
set to indicate the cause of the error.
|
||||
|
|
Loading…
Reference in New Issue