POSIX specifies that the parameters of sigwaitinfo() and sigtimedwait() shall be 'restrict'. Glibc uses 'restrict' too. Let's use it here too. ...... .../glibc$ grep_glibc_prototype sigwaitinfo signal/signal.h:264: extern int sigwaitinfo (const sigset_t *__restrict __set, siginfo_t *__restrict __info) __nonnull ((1)); .../glibc$ grep_glibc_prototype sigtimedwait signal/signal.h:272: extern int sigtimedwait (const sigset_t *__restrict __set, siginfo_t *__restrict __info, const struct timespec *__restrict __timeout) __nonnull ((1)); .../glibc$ Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> --- man2/sigwaitinfo.2 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/man2/sigwaitinfo.2 b/man2/sigwaitinfo.2 index 703b9b177..450e5f439 100644 --- a/man2/sigwaitinfo.2 +++ b/man2/sigwaitinfo.2 @@ -30,9 +30,11 @@ for queued signals .nf .B #include <signal.h> .PP -.BI "int sigwaitinfo(const sigset_t *" set ", siginfo_t *" info ");" -.BI "int sigtimedwait(const sigset_t *" set ", siginfo_t *" info , -.BI " const struct timespec *" timeout ");" +.BI "int sigwaitinfo(const sigset_t *restrict " set , +.BI " siginfo_t *restrict " info ); +.BI "int sigtimedwait(const sigset_t *restrict " set , +.BI " siginfo_t *restrict " info , +.BI " const struct timespec *restrict " timeout ); .fi .PP .RS -4 -- 2.30.0