mirror of https://github.com/mkerrisk/man-pages
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:
parent
dd6d3d2e5f
commit
fda554706b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue