]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
clone.2: SYNOPSIS: Add _Nullable
authorAlejandro Colomar <alx@kernel.org>
Sat, 3 Dec 2022 17:47:33 +0000 (18:47 +0100)
committerAlejandro Colomar <alx@kernel.org>
Sat, 3 Dec 2022 19:32:39 +0000 (20:32 +0100)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man2/clone.2

index 0936308595bf1b10b81294964ffabf0e5dac535d..a3e6188fd81c7c89dabce187914708986ae93bdb 100644 (file)
@@ -50,10 +50,12 @@ Standard C library
 .B #define _GNU_SOURCE
 .B #include <sched.h>
 .PP
-.BI "int clone(int (*" "fn" ")(void *), void *" stack \
-", int " flags ", void *" "arg" ", ..."
-.BI "          /* pid_t *" parent_tid ", void *" tls \
-", pid_t *" child_tid " */ );"
+.BI "int clone(int (*" "fn" ")(void *_Nullable), void *" stack \
+", int " flags ,
+.BI "          void *_Nullable " "arg" ", ..." \
+"  \fR/*\fP" " pid_t *_Nullable " parent_tid ,
+.BI "                                       void *_Nullable " tls ,
+.BI "                                       pid_t *_Nullable " child_tid " \fR*/\fP );"
 .PP
 /* For the prototype of the raw clone() system call, see NOTES */
 .PP