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:
Kir Kolyshkin 2020-05-11 10:58:26 -07:00 committed by Michael Kerrisk
parent 3f298932bd
commit 483368b3b1
1 changed files with 2 additions and 8 deletions

View File

@ -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.