mirror of https://github.com/mkerrisk/man-pages
sigwait.3: SYNOPSIS: Use 'restrict' in prototypes
Both POSIX and glibc use 'restrict' in sigwait(). Let's use it here too. .../glibc$ grep_glibc_prototype sigwait signal/signal.h:255: extern int sigwait (const sigset_t *__restrict __set, int *__restrict __sig) __nonnull ((1, 2)); .../glibc$ Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
efebdba0af
commit
0b3f94cb89
|
@ -30,7 +30,7 @@ sigwait \- wait for a signal
|
|||
.nf
|
||||
.B #include <signal.h>
|
||||
.PP
|
||||
.BI "int sigwait(const sigset_t *" set ", int *" sig );
|
||||
.BI "int sigwait(const sigset_t *restrict " set ", int *restrict " sig );
|
||||
.fi
|
||||
.PP
|
||||
.RS -4
|
||||
|
|
Loading…
Reference in New Issue