OSDN Git Service

長音記号の修正を release に反映
[linuxjm/LDP_man-pages.git] / release / man2 / get_thread_area.2
index fdbd133..319bc09 100644 (file)
@@ -1,61 +1,59 @@
 .\" 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.
+.\"
+.\"*******************************************************************
 .\"
 .\" Japanese Version Copyright (c) 2003  Akihiro MOTOKI
 .\"         all rights reserved.
 .\" Translated Tue Jul  8 03:28:55 JST 2003
 .\"         by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
+.\" Updated 2013-04-03, Akihiro MOTOKI <amotoki@gmail.com>
 .\"
-.\"WORD:       Thread Local Storage    スレッド局所記憶
-.\"
-.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) 領域を取り出す
 .SH 書式
-.B #include <linux/unistd.h>
+\fB#include <linux/unistd.h>\fP
 .br
-.B #include <asm/ldt.h>
+\fB#include <asm/ldt.h>\fP
 .sp
-.BI "int get_thread_area(struct user_desc *" u_info );
+\fBint get_thread_area(struct user_desc *\fP\fIu_info\fP\fB);\fP
+
+\fI注\fP: このシステムコールには glibc のラッパー関数は存在しない。「注意」の節を参照。
 .SH 説明
-.BR get_thread_area ()
-は、カレント・スレッドのスレッド局所記憶
-(Thread Local Storage; TLS) 配列の中のエントリを返す。
-エントリのインデックスは、ユーザから引き数として渡される
-\fIu_info\->entry_number\fP の値に対応している。
-値が範囲内にある場合、
-.BR get_thread_info ()
-は対応する TLS エントリを
-\fIu_info\fP で指された領域にコピーする。
+\fBget_thread_area\fP()  は、カレントスレッドのスレッド局所記憶 (thread\-local storage; TLS)
+配列の中のエントリーを返す。 エントリーのインデックスは、ユーザーから引き数として渡される \fIu_info\->entry_number\fP
+の値に対応している。 値が範囲内にある場合、 \fBget_thread_info\fP()  は対応する TLS エントリーを \fIu_info\fP
+で指された領域にコピーする。
 .SH 返り値
-成功した場合、
-.BR get_thread_area ()
-は 0 を返す。
-そうでない場合、 \-1 を返し、
-.I errno
+成功した場合、 \fBget_thread_area\fP()  は 0 を返す。 そうでない場合、 \-1 を返し、 \fIerrno\fP
 に適切な値をセットする。
 .SH エラー
-.TP
-.B EFAULT
-\fIu_info\fP が不正なポインタである。
-.TP
-.B EINVAL
+.TP 
+\fBEFAULT\fP
+\fIu_info\fP ã\81\8cä¸\8dæ­£ã\81ªã\83\9dã\82¤ã\83³ã\82¿ã\83¼ã\81§ã\81\82ã\82\8bã\80\82
+.TP 
+\fBEINVAL\fP
 \fIu_info\->entry_number\fP が範囲外である。
 .SH バージョン
-.BR get_thread_area ()
-は Linux 2.5.32 で初めて登場した。
+\fBget_thread_area\fP()  は Linux 2.5.32 で初めて登場した。
 .SH 準拠
-.BR get_thread_area ()
-は Linux 独自の関数であり、
-移植を意図したプログラムでは使用すべきではない。
+\fBget_thread_area\fP()  は Linux 独自の関数であり、 移植を意図したプログラムでは使用すべきではない。
 .SH 注意
-glibc はこのシステムコールに対するラッパー関数を提供していない。
-このシステムコールは呼び出すには
-.BR syscall (2)
+このシステムコールは通常はスレッドライブラリでのみ使用されることを目的として用意されているため、 glibc
+はこのシステムコールに対するラッパー関数を提供していない。おそらくないと思うが、このシステムコールを直接呼び出したい場合は \fBsyscall\fP(2)
 を使うこと。
 .SH 関連項目
-.BR modify_ldt (2),
-.BR set_thread_area (2)
+\fBmodify_ldt\fP(2), \fBset_thread_area\fP(2)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.78 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。