[29/41] sigaction.2: SYNOPSIS: Add _Nullable

Message ID 20221203202317.252789-30-alx@kernel.org
State Not applicable
Headers
Series Document nullability of syscall parameters |

Commit Message

Alejandro Colomar Dec. 3, 2022, 8:23 p.m. UTC
  Signed-off-by: Alejandro Colomar <alx@kernel.org>
---
 man2/sigaction.2 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
  

Patch

diff --git a/man2/sigaction.2 b/man2/sigaction.2
index d43f9b0d0..b6ad9d63f 100644
--- a/man2/sigaction.2
+++ b/man2/sigaction.2
@@ -35,8 +35,9 @@  .SH SYNOPSIS
 .nf
 .B #include <signal.h>
 .PP
-.BI "int sigaction(int " signum ", const struct sigaction *restrict " act ,
-.BI "              struct sigaction *restrict " oldact );
+.BI "int sigaction(int " signum ,
+.BI "              const struct sigaction *_Nullable restrict " act ,
+.BI "              struct sigaction *_Nullable restrict " oldact );
 .fi
 .PP
 .RS -4