[12/41] getcpu.2: SYNOPSIS: Add _Nullable

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

Commit Message

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

Patch

diff --git a/man2/getcpu.2 b/man2/getcpu.2
index 0e7293105..32a5e926d 100644
--- a/man2/getcpu.2
+++ b/man2/getcpu.2
@@ -20,7 +20,8 @@  .SH SYNOPSIS
 .BR "#define _GNU_SOURCE" "             /* See feature_test_macros(7) */"
 .B #include <sched.h>
 .PP
-.BI "int getcpu(unsigned int *" cpu ", unsigned int *" node );
+.BI "int getcpu(unsigned int *_Nullable " cpu ", \
+unsigned int *_Nullable " node );
 .fi
 .SH DESCRIPTION
 The