aboutsummaryrefslogtreecommitdiffstats
path: root/man2/gettid.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/gettid.2')
-rw-r--r--man2/gettid.215
1 files changed, 4 insertions, 11 deletions
diff --git a/man2/gettid.2 b/man2/gettid.2
index ba721da488..c1fa3006fe 100644
--- a/man2/gettid.2
+++ b/man2/gettid.2
@@ -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