.\" Copyright (C) 2003 Free Software Foundation, Inc.
+.\" Written by Kent Yoder.
+.\"
+.\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
.\" This file is distributed according to the GNU General Public License.
-.\" See the file COPYING in the top level source directory for details.
+.\" %%%LICENSE_END
.\"
-.\" Written by Kent Yoder.
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
-.TH GET_THREAD_AREA 2 2008\-11\-27 Linux "Linux Programmer's Manual"
+.TH GET_THREAD_AREA 2 2012\-07\-13 Linux "Linux Programmer's Manual"
.SH 名前
-get_thread_area \- スレッド局所記憶 (TLS) 領域を取り出す
+get_thread_area \- get a thread\-local storage (TLS) area
.SH 書式
\fB#include <linux/unistd.h>\fP
.br
\fB#include <asm/ldt.h>\fP
.sp
\fBint get_thread_area(struct user_desc *\fP\fIu_info\fP\fB);\fP
+
+\fINote\fP: There is no glibc wrapper for this system call; see NOTES.
.SH 説明
-\fBget_thread_area\fP() は、カレント・スレッドのスレッド局所記憶 (Thread Local Storage; TLS)
-配列の中のエントリを返す。 エントリのインデックスは、ユーザから引き数として渡される \fIu_info\->entry_number\fP
-の値に対応している。 値が範囲内にある場合、 \fBget_thread_info\fP() は対応する TLS エントリを \fIu_info\fP
-で指された領域にコピーする。
+\fBget_thread_area\fP() returns an entry in the current thread's thread\-local
+storage (TLS) array. The index of the entry corresponds to the value of
+\fIu_info\->entry_number\fP, passed in by the user. If the value is in
+bounds, \fBget_thread_area\fP() copies the corresponding TLS entry into the
+area pointed to by \fIu_info\fP.
.SH 返り値
成功した場合、 \fBget_thread_area\fP() は 0 を返す。 そうでない場合、 \-1 を返し、 \fIerrno\fP
に適切な値をセットする。
.SH 準拠
\fBget_thread_area\fP() は Linux 独自の関数であり、 移植を意図したプログラムでは使用すべきではない。
.SH 注意
-glibc はこのシステムコールに対するラッパー関数を提供していない。 このシステムコールは呼び出すには \fBsyscall\fP(2) を使うこと。
+Glibc does not provide a wrapper for this system call, since it is generally
+intended only for use by threading libraries. In the unlikely event that
+you want to call it directly, use \fBsyscall\fP(2).
.SH 関連項目
\fBmodify_ldt\fP(2), \fBset_thread_area\fP(2)
.SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.41 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部
である。プロジェクトの説明とバグ報告に関する情報は
http://www.kernel.org/doc/man\-pages/ に書かれている。