summaryrefslogtreecommitdiffstats
path: root/man2/gettid.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/gettid.2')
-rw-r--r--man2/gettid.217
1 files changed, 5 insertions, 12 deletions
diff --git a/man2/gettid.2 b/man2/gettid.2
index 68168fd36..d4ca4d0c4 100644
--- a/man2/gettid.2
+++ b/man2/gettid.2
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.TH gettid 2 2022-12-04 "Linux man-pages 6.03"
+.TH gettid 2 2023-03-30 "Linux man-pages 6.05.01"
.SH NAME
gettid \- get thread identification
.SH LIBRARY
@@ -32,18 +32,11 @@ in
On success, returns the thread ID of the calling thread.
.SH ERRORS
This call is always successful.
-.SH VERSIONS
-The
-.BR gettid ()
-system call first appeared in Linux 2.4.11.
-Library support was added in glibc 2.30.
-(Earlier glibc versions did not provide a wrapper for this system call,
-necessitating the use of
-.BR syscall (2).)
.SH STANDARDS
-.BR gettid ()
-is Linux-specific and should not be used in programs that
-are intended to be portable.
+Linux.
+.SH HISTORY
+Linux 2.4.11,
+glibc 2.30.
.SH NOTES
The thread ID returned by this call is not the same thing as a
POSIX thread ID (i.e., the opaque value returned by