From: Michael Kerrisk Date: Sun, 25 Sep 2016 18:31:45 +0000 (+0200) Subject: clone.2: Change types for 'ptid' and 'ctid' in syscall prototypes X-Git-Tag: man-pages-4.08~66 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fda554706b3a27fb221f8f10f93d0f3f47e7142b;p=thirdparty%2Fman-pages.git clone.2: Change types for 'ptid' and 'ctid' in syscall prototypes 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 --- diff --git a/man2/clone.2 b/man2/clone.2 index 5997f43d0c..5c1e301863 100644 --- a/man2/clone.2 +++ b/man2/clone.2 @@ -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