[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221203202317.252789-32-alx@kernel.org>
Date: Sat, 3 Dec 2022 21:23:07 +0100
From: Alejandro Colomar <alx.manpages@...il.com>
To: linux-man@...r.kernel.org
Cc: Alejandro Colomar <alx@...nel.org>, libc-alpha@...rceware.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 31/41] sigprocmask.2: SYNOPSIS: Add _Nullable
Signed-off-by: Alejandro Colomar <alx@...nel.org>
---
man2/sigprocmask.2 | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/man2/sigprocmask.2 b/man2/sigprocmask.2
index 6fa655fea..ae65e3400 100644
--- a/man2/sigprocmask.2
+++ b/man2/sigprocmask.2
@@ -17,22 +17,23 @@ .SH SYNOPSIS
.PP
.nf
/* Prototype for the glibc wrapper function */
-.BI "int sigprocmask(int " how ", const sigset_t *restrict " set ,
-.BI " sigset_t *restrict " oldset );
+.BI "int sigprocmask(int " how ", const sigset_t *_Nullable restrict " set ,
+.BI " sigset_t *_Nullable restrict " oldset );
.PP
.BR "#include <signal.h>" " /* Definition of " SIG_* " constants */"
.BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */"
.B #include <unistd.h>
.PP
/* Prototype for the underlying system call */
-.BI "int syscall(SYS_rt_sigprocmask, int " how ", const kernel_sigset_t *" set ,
-.BI " kernel_sigset_t *" oldset \
-", size_t " sigsetsize );
+.BI "int syscall(SYS_rt_sigprocmask, int " how ,
+.BI " const kernel_sigset_t *_Nullable " set ,
+.BI " kernel_sigset_t *_Nullable " oldset ,
+.BI " size_t " sigsetsize );
.PP
/* Prototype for the legacy system call */
.BI "[[deprecated]] int syscall(SYS_sigprocmask, int " how ,
-.BI " const old_kernel_sigset_t *" set ,
-.BI " old_kernel_sigset_t *" oldset );
+.BI " const old_kernel_sigset_t *_Nullable " set ,
+.BI " old_kernel_sigset_t *_Nullable " oldset );
.fi
.PP
.RS -4
--
2.38.1
Powered by blists - more mailing lists