mirror of https://github.com/mkerrisk/man-pages
pthread_exit.3: SYNOPSIS: Use 'noreturn' in prototypes
POSIX specifies that pthread_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
cec1239183
commit
6c49c14bdb
|
@ -30,7 +30,7 @@ pthread_exit \- terminate calling thread
|
|||
.nf
|
||||
.B #include <pthread.h>
|
||||
.PP
|
||||
.BI "void pthread_exit(void *" retval );
|
||||
.BI "noreturn void pthread_exit(void *" retval );
|
||||
.PP
|
||||
Compile and link with \fI\-pthread\fP.
|
||||
.fi
|
||||
|
|
Loading…
Reference in New Issue