setenv.3: wfix
PATCH 1/1 setenv.3: wfix
Both functions behave the same wrt return value, no need to describe them separately.
Signed-off-by Kir Kolyshkin <[email protected]>
--- man3/setenv.3 | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-)
man3/setenv.3 +2 -8
@@ -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.
Signature · 1 line
2.26.2
Hello Kir,
Quoted 3 lines · Kir Kolyshkin
Both functions behave the same wrt return value, no need to describe them separately.
Indeed. Patch applied.
Thanks,
Michael
Quoted 31 lines
Signed-off-by Kir Kolyshkin <[email protected]>--- man3/setenv.3 | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-)man3/setenv.3 +2
-9@@ -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
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/