mirror of https://github.com/mkerrisk/man-pages
exit.3: SYNOPSIS: Use 'noreturn' in prototypes
POSIX specifies that exit() shall not return. Glibc uses __attribute__((__noreturn__)). Let's use standard C11 'noreturn' in the manual page. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
9ca4896771
commit
cec1239183
|
@ -33,7 +33,7 @@ exit \- cause normal process termination
|
|||
.nf
|
||||
.B #include <stdlib.h>
|
||||
.PP
|
||||
.BI "void exit(int " status );
|
||||
.BI "noreturn void exit(int " status );
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
|
|
Loading…
Reference in New Issue