[28/41] shmop.2: SYNOPSIS: Add _Nullable

Message ID 20221203202317.252789-29-alx@kernel.org
State New
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/shmop.2 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
  

Patch

diff --git a/man2/shmop.2 b/man2/shmop.2
index e5a0ae814..cd91c9931 100644
--- a/man2/shmop.2
+++ b/man2/shmop.2
@@ -27,7 +27,8 @@  .SH SYNOPSIS
 .nf
 .B #include <sys/shm.h>
 .PP
-.BI "void *shmat(int " shmid ", const void *" shmaddr ", int " shmflg );
+.BI "void *shmat(int " shmid ", const void *_Nullable " shmaddr ", \
+int " shmflg );
 .BI "int shmdt(const void *" shmaddr );
 .fi
 .SH DESCRIPTION