aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-09-25 20:31:45 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-10-07 09:13:44 +0200
commitfda554706b3a27fb221f8f10f93d0f3f47e7142b (patch)
treee3113687c1313a8187ea58bbb344a72ca0c3d102
parentdd6d3d2e5fdd373d78698d2e7c5bb80f80049c03 (diff)
downloadman-pages-fda554706b3a27fb221f8f10f93d0f3f47e7142b.tar.gz
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>
-rw-r--r--man2/clone.24
1 files changed, 2 insertions, 2 deletions
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