get_thread_area.2: Note that glibc provides no wrapper for this system call

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2008-11-28 11:39:55 -05:00
parent fcdad7d6ff
commit 6977c3c1b4
1 changed files with 5 additions and 1 deletions

View File

@ -3,7 +3,7 @@
.\" See the file COPYING in the top level source directory for details. .\" See the file COPYING in the top level source directory for details.
.\" .\"
.\" Written by Kent Yoder. .\" Written by Kent Yoder.
.TH GET_THREAD_AREA 2 2003-02-21 "Linux" "Linux Programmer's Manual" .TH GET_THREAD_AREA 2 2008-11-27 "Linux" "Linux Programmer's Manual"
.SH NAME .SH NAME
get_thread_area \- Get a Thread Local Storage (TLS) area get_thread_area \- Get a Thread Local Storage (TLS) area
.SH "SYNOPSIS" .SH "SYNOPSIS"
@ -42,6 +42,10 @@ first appeared in Linux 2.5.32.
.BR get_thread_area () .BR get_thread_area ()
is Linux-specific and should not be used in programs is Linux-specific and should not be used in programs
that are intended to be portable. that are intended to be portable.
.SH NOTES
Glibc does not provide a wrapper for this function;
call it using
.BR syscall (2).
.SH "SEE ALSO" .SH "SEE ALSO"
.BR modify_ldt (2), .BR modify_ldt (2),
.BR set_thread_area (2) .BR set_thread_area (2)