mirror of https://github.com/mkerrisk/man-pages
Added VERSIONS section noting that this system call first appeared in 2.4.11.
This commit is contained in:
parent
ef37eaf2e8
commit
12afd1b404
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue