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 <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-09-25 20:31:45 +02:00
parent dd6d3d2e5f
commit fda554706b
1 changed files with 2 additions and 2 deletions

View 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