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>
This commit is contained in:
Michael Kerrisk 2021-02-19 13:21:50 +01:00
parent fb0390dc5b
commit 2b15f8c59e
1 changed files with 2 additions and 1 deletions

View File

@ -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 ()