mirror of https://github.com/mkerrisk/man-pages
abort.3: SYNOPSIS: Use 'noreturn' in prototypes
POSIX specifies that abort() 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
2b15f8c59e
commit
0dfa5792bc
|
@ -38,7 +38,7 @@ abort \- cause abnormal process termination
|
|||
.nf
|
||||
.B #include <stdlib.h>
|
||||
.PP
|
||||
.B void abort(void);
|
||||
.B noreturn void abort(void);
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
|
|
Loading…
Reference in New Issue