[PATCH] setenv.3: wfix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Both functions behave the same wrt return value, no need to describe
them separately.

Signed-off-by: Kir Kolyshkin <kolyshkin@xxxxxxxxx>
---
 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




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux