Hello Paul,

You may have found a fault in the man page, but I believe
the fault may be the converse of what you think.

> Von: Paul Brook <[EMAIL PROTECTED]>
> An: Debian Bug Tracking System <[EMAIL PROTECTED]>
> Betreff: Bug#323062: manpages-dev: clone(2) CLONE_PARENT_SETTID   
> description incorrect
> Datum: Sun, 14 Aug 2005 14:37:51 +0100
> 
> Package: manpages-dev
> Version: 2.02-2
> Severity: normal
> Tags: patch
> 
> The clone(2) manpage incorrectly states that CLONE_PARENT_SETTID stores
> the child TID.  

I believe this is correct -- both from reading the source 
code, and from test programs that I have written.

> In fact it stores the parent TID (verified on a live
> system).

How did you verify this? 

> The following note on the same page implies that this behavior is
> intentional, and the documentation incorrect:
> "the parent thread ID will be written in case CLONE_PARENT_SETTID"

It is the above part of the manual page that I believe is incorrect.

Cheers,

Michael

-- 
Michael Kerrisk
maintainer of Linux man pages Sections 2, 3, 4, 5, and 7 

Want to help with man page maintenance?  Grab the latest
tarball at ftp://ftp.win.tue.nl/pub/linux-local/manpages/
and grep the source files for 'FIXME'.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to