]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
clone.2: Change types for 'ptid' and 'ctid' in syscall prototypes
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 25 Sep 2016 18:31:45 +0000 (20:31 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 7 Oct 2016 07:13:44 +0000 (09:13 +0200)
These types changed from 'void *' to 'int *' back in Linux 3.8.
The new types are closer to reality, so just update the page
without discussing the history.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/clone.2

index 5997f43d0c1904c6ab8bbbbf6ff37404b84a4b65..5c1e3018631d267642358012198da4b89a758d5f 100644 (file)
@@ -57,7 +57,7 @@ clone, __clone2 \- create a child process
 /* Prototype for the raw system call */
 
 .BI "long clone(unsigned long " flags ", void *" child_stack ,
-.BI "          void *" ptid ", void *" ctid ,
+.BI "          int *" ptid ", int *" ctid ,
 .BI "          unsigned long " newtls );
 .fi
 .SH DESCRIPTION
@@ -826,7 +826,7 @@ The raw system call interface on x86 and many other architectures is roughly:
 .nf
 
 .BI "long clone(unsigned long " flags ", void *" child_stack ,
-.BI "           void *" ptid ", void *" ctid ,
+.BI "           int *" ptid ", int *" ctid ,
 .BI "           unsigned long " newtls );
 
 .fi