[19/41] nanosleep.2: SYNOPSIS: Add _Nullable

Message ID 20221203202317.252789-20-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/nanosleep.2 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
  

Patch

diff --git a/man2/nanosleep.2 b/man2/nanosleep.2
index 63603971c..969c34609 100644
--- a/man2/nanosleep.2
+++ b/man2/nanosleep.2
@@ -22,7 +22,8 @@  .SH SYNOPSIS
 .nf
 .B #include <time.h>
 .PP
-.BI "int nanosleep(const struct timespec *" req ", struct timespec *" rem );
+.BI "int nanosleep(const struct timespec *" req ,
+.BI "              struct timespec *_Nullable " rem );
 .fi
 .PP
 .RS -4