Added VERSIONS section noting that this system call first appeared in 2.4.11.

This commit is contained in:
Michael Kerrisk 2008-04-14 14:46:47 +00:00
parent ef37eaf2e8
commit 12afd1b404
1 changed files with 7 additions and 1 deletions

View File

@ -23,7 +23,7 @@
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
.TH GETTID 2 2008-01-12 "Linux" "Linux Programmer's Manual"
.TH GETTID 2 2008-04-14 "Linux" "Linux Programmer's Manual"
.SH NAME
gettid \- get thread identification
.SH SYNOPSIS
@ -48,6 +48,10 @@ in
On success, returns the thread ID of the calling process.
.SH ERRORS
This call is always successful.
.SH VERSIONS
The
.BR gettid ()
system call first appeared on Linux in kernel 2.4.11.
.SH "CONFORMING TO"
.BR gettid ()
is Linux-specific and should not be used in programs that
@ -55,6 +59,8 @@ are intended to be portable.
.SH NOTES
Glibc does not provide a wrapper for this system call; call it using
.BR syscall (2).
.\" See http://sourceware.org/bugzilla/show_bug.cgi?id=6399
.\" "gettid() should have a wrapper"
The thread ID returned by this call is not the same thing as a
POSIX thread ID (i.e., the opaque value returned by