]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
strtok.3: SYNOPSIS: Document _Nullable parameters
authorAlejandro Colomar <alx@kernel.org>
Sun, 16 Jun 2024 10:55:58 +0000 (12:55 +0200)
committerAlejandro Colomar <alx@kernel.org>
Sun, 16 Jun 2024 11:11:11 +0000 (13:11 +0200)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man3/strtok.3

index 48eb12e8381f467b7757a7457884fb5bf2d4f480..1fc201fae471b9338ca5298526f5d29eb720bf23 100644 (file)
@@ -20,8 +20,10 @@ Standard C library
 .nf
 .B #include <string.h>
 .P
-.BI "char *strtok(char *restrict " str ", const char *restrict " delim );
-.BI "char *strtok_r(char *restrict " str ", const char *restrict " delim ,
+.BI "char *strtok(char *_Nullable restrict " str \
+", const char *restrict " delim );
+.BI "char *strtok_r(char *_Nullable restrict " str \
+", const char *restrict " delim ,
 .BI "               char **restrict " saveptr );
 .fi
 .P