diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2021-02-19 13:21:50 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2021-02-19 13:21:50 +0100 |
| commit | 2b15f8c59e2b49eaa018aad00b680178536238e5 (patch) | |
| tree | f0faddb34e6dbe78d47c6df93983258d24de1086 /man3 | |
| parent | fb0390dc5b0f1c24d05584613ea3efc8a6a09f21 (diff) | |
| download | man-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.3 | 3 |
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 () |
