diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-09-25 20:31:45 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-10-07 09:13:44 +0200 |
| commit | fda554706b3a27fb221f8f10f93d0f3f47e7142b (patch) | |
| tree | e3113687c1313a8187ea58bbb344a72ca0c3d102 | |
| parent | dd6d3d2e5fdd373d78698d2e7c5bb80f80049c03 (diff) | |
| download | man-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.2 | 4 |
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 |
