From: Kir Kolyshkin <kolyshkin@gmail.com>
To: mtk.manpages@gmail.com
Cc: linux-man@vger.kernel.org, Kir Kolyshkin <kolyshkin@gmail.com>
Subject: [PATCH] setenv.3: wfix
Date: Mon, 11 May 2020 10:58:26 -0700 [thread overview]
Message-ID: <20200511175826.1529435-1-kolyshkin@gmail.com> (raw)
Both functions behave the same wrt return value, no need to describe
them separately.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
---
man3/setenv.3 | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/man3/setenv.3 b/man3/setenv.3
index cd4fbcd6a..82acb0ce9 100644
--- a/man3/setenv.3
+++ b/man3/setenv.3
@@ -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.
--
2.26.2
next reply other threads:[~2020-05-11 17:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-11 17:58 Kir Kolyshkin [this message]
2020-05-11 18:17 ` [PATCH] setenv.3: wfix Michael Kerrisk (man-pages)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200511175826.1529435-1-kolyshkin@gmail.com \
--to=kolyshkin@gmail.com \
--cc=linux-man@vger.kernel.org \
--cc=mtk.manpages@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).