set_tid_address.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-07-21 04:55:31 +02:00
parent f5fe595295
commit 568c4c02b7
1 changed files with 5 additions and 3 deletions

View File

@ -35,7 +35,8 @@ The kernel keeps for each process two values called
and
.I clear_child_tid
that are NULL by default.
.SS set_child_tid
.TP
.I set_child_tid
If a process is started using
.BR clone (2)
with the
@ -45,12 +46,13 @@ flag,
is set to the value passed in the
.I ctid
argument of that system call.
.LP
.IP
When
.I set_child_tid
is set, the very first thing the new process does
is writing its PID at this address.
.SS clear_child_tid
.TP
.I clear_child_tid
If a process is started using
.BR clone (2)
with the