aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2021-02-19 13:21:50 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-02-19 13:21:50 +0100
commit2b15f8c59e2b49eaa018aad00b680178536238e5 (patch)
treef0faddb34e6dbe78d47c6df93983258d24de1086 /man3
parentfb0390dc5b0f1c24d05584613ea3efc8a6a09f21 (diff)
downloadman-pages-2b15f8c59e2b49eaa018aad00b680178536238e5.tar.gz
error.3: Clarify the meaning of 'status==0' for error(3)
Reported-by: Alejandro Colomar (man-pages) <alx.manpages@gmail.com> Reported-by: Walter Harms <wharms@bfs.de> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3')
-rw-r--r--man3/error.33
1 files changed, 2 insertions, 1 deletions
diff --git a/man3/error.3 b/man3/error.3
index c3b4ccba49..87e454608a 100644
--- a/man3/error.3
+++ b/man3/error.3
@@ -75,7 +75,8 @@ If \fIstatus\fP has a nonzero value, then
.BR error ()
calls
.BR exit (3)
-to terminate the program using the given value as the exit status.
+to terminate the program using the given value as the exit status;
+otherwise it returns after printing the error message.
.PP
The
.BR error_at_line ()