POSIX specifies that the parameters of sigprocmask() shall be 'restrict'. Glibc uses 'restrict' too. Let's use it here too. ...... .../glibc$ grep_glibc_prototype sigprocmask signal/signal.h:232: extern int sigprocmask (int __how, const sigset_t *__restrict __set, sigset_t *__restrict __oset) __THROW; .../glibc$ Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> --- man2/sigprocmask.2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man2/sigprocmask.2 b/man2/sigprocmask.2 index b4899ff8a..ba78ccffd 100644 --- a/man2/sigprocmask.2 +++ b/man2/sigprocmask.2 @@ -34,7 +34,8 @@ sigprocmask, rt_sigprocmask \- examine and change blocked signals .PP .nf /* Prototype for the glibc wrapper function */ -.BI "int sigprocmask(int " how ", const sigset_t *" set ", sigset_t *" oldset ); +.BI "int sigprocmask(int " how ", const sigset_t *restrict " set , +.BI " sigset_t *restrict " oldset ); .PP /* Prototype for the underlying system call */ .BI "int rt_sigprocmask(int " how ", const kernel_sigset_t *" set , -- 2.30.0