OSDN Git Service

Convert release and draft pages to UTF-8.
[linuxjm/jm.git] / manual / LDP_man-pages / draft / man2 / get_thread_area.2
index ff2ca7b..2f0e6b0 100644 (file)
@@ -9,22 +9,22 @@
 .\" Translated Tue Jul  8 03:28:55 JST 2003
 .\"         by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
 .\"
-.\"WORD:       Thread Local Storage    ¥¹¥ì¥Ã¥É¶É½êµ­²±
+.\"WORD:       Thread Local Storage    スレッド局所記憶
 .\"
 .TH GET_THREAD_AREA 2 2008-11-27 "Linux" "Linux Programmer's Manual"
 .\"O .SH NAME
 .\"O get_thread_area \- Get a Thread Local Storage (TLS) area
-.SH Ì¾Á°
-get_thread_area \- ¥¹¥ì¥Ã¥É¶É½êµ­²± (TLS) Îΰè¤ò¼è¤ê½Ð¤¹
+.SH 名前
+get_thread_area \- スレッド局所記憶 (TLS) 領域を取り出す
 .\"O .SH "SYNOPSIS"
-.SH ½ñ¼°
+.SH 書式
 .B #include <linux/unistd.h>
 .br
 .B #include <asm/ldt.h>
 .sp
 .BI "int get_thread_area(struct user_desc *" u_info );
 .\"O .SH "DESCRIPTION"
-.SH ÀâÌÀ
+.SH 説明
 .\"O .BR get_thread_area ()
 .\"O returns an entry in the current thread's Thread Local Storage (TLS) array.
 .\"O The index of the entry corresponds to the value
@@ -34,62 +34,62 @@ get_thread_area \- 
 .\"O copies the corresponding
 .\"O TLS entry into the area pointed to by \fIu_info\fP.
 .BR get_thread_area ()
-¤Ï¡¢¥«¥ì¥ó¥È¡¦¥¹¥ì¥Ã¥É¤Î¥¹¥ì¥Ã¥É¶É½êµ­²±
-(Thread Local Storage; TLS) ÇÛÎó¤ÎÃæ¤Î¥¨¥ó¥È¥ê¤òÊÖ¤¹¡£
-¥¨¥ó¥È¥ê¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹¤Ï¡¢¥æ¡¼¥¶¤«¤é°ú¤­¿ô¤È¤·¤ÆÅϤµ¤ì¤ë
-\fIu_info\->entry_number\fP ¤ÎÃͤËÂбþ¤·¤Æ¤¤¤ë¡£
-Ãͤ¬ÈÏ°ÏÆâ¤Ë¤¢¤ë¾ì¹ç¡¢
+は、カレント・スレッドのスレッド局所記憶
+(Thread Local Storage; TLS) 配列の中のエントリを返す。
+エントリのインデックスは、ユーザから引き数として渡される
+\fIu_info\->entry_number\fP の値に対応している。
+値が範囲内にある場合、
 .BR get_thread_info ()
-¤ÏÂбþ¤¹¤ë TLS ¥¨¥ó¥È¥ê¤ò
-\fIu_info\fP ¤Ç»Ø¤µ¤ì¤¿Îΰè¤Ë¥³¥Ô¡¼¤¹¤ë¡£
+は対応する TLS エントリを
+\fIu_info\fP で指された領域にコピーする。
 .\"O .SH "RETURN VALUE"
-.SH ÊÖ¤êÃÍ
+.SH 返り値
 .\"O .BR get_thread_area ()
 .\"O returns 0 on success.
 .\"O Otherwise, it returns \-1 and sets
 .\"O .I errno
 .\"O appropriately.
-À®¸ù¤·¤¿¾ì¹ç¡¢
+成功した場合、
 .BR get_thread_area ()
-¤Ï 0 ¤òÊÖ¤¹¡£
-¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¡¢ \-1 ¤òÊÖ¤·¡¢
+は 0 を返す。
+そうでない場合、 \-1 を返し、
 .I errno
-¤ËŬÀÚ¤ÊÃͤò¥»¥Ã¥È¤¹¤ë¡£
+に適切な値をセットする。
 .\"O .SH "ERRORS"
-.SH ¥¨¥é¡¼
+.SH ã\82¨ã\83©ã\83¼
 .TP
 .B EFAULT
 .\"O \fIu_info\fP is an invalid pointer.
-\fIu_info\fP ¤¬ÉÔÀµ¤Ê¥Ý¥¤¥ó¥¿¤Ç¤¢¤ë¡£
+\fIu_info\fP が不正なポインタである。
 .TP
 .B EINVAL
 .\"O \fIu_info\->entry_number\fP is out of bounds.
-\fIu_info\->entry_number\fP ¤¬Èϰϳ°¤Ç¤¢¤ë¡£
+\fIu_info\->entry_number\fP が範囲外である。
 .\"O .SH VERSIONS
-.SH ¥Ð¡¼¥¸¥ç¥ó
+.SH バージョン
 .\"O A version of
 .\"O .BR get_thread_area ()
 .\"O first appeared in Linux 2.5.32.
 .BR get_thread_area ()
-¤Ï Linux 2.5.32 ¤Ç½é¤á¤ÆÅо줷¤¿¡£
+は Linux 2.5.32 で初めて登場した。
 .\"O .SH "CONFORMING TO"
-.SH ½àµò
+.SH 準拠
 .\"O .BR get_thread_area ()
 .\"O is Linux-specific and should not be used in programs
 .\"O that are intended to be portable.
 .BR get_thread_area ()
-¤Ï Linux Æȼ«¤Î´Ø¿ô¤Ç¤¢¤ê¡¢
-°Ü¿¢¤ò°Õ¿Þ¤·¤¿¥×¥í¥°¥é¥à¤Ç¤Ï»ÈÍѤ¹¤Ù¤­¤Ç¤Ï¤Ê¤¤¡£
+は Linux 独自の関数であり、
+移植を意図したプログラムでは使用すべきではない。
 .\"O .SH NOTES
-.SH Ãí°Õ
+.SH 注意
 .\"O Glibc does not provide a wrapper for this system call;
 .\"O call it using
 .\"O .BR syscall (2).
-glibc ¤Ï¤³¤Î¥·¥¹¥Æ¥à¥³¡¼¥ë¤ËÂФ¹¤ë¥é¥Ã¥Ñ¡¼´Ø¿ô¤òÄ󶡤·¤Æ¤¤¤Ê¤¤¡£
-¤³¤Î¥·¥¹¥Æ¥à¥³¡¼¥ë¤Ï¸Æ¤Ó½Ð¤¹¤Ë¤Ï
+glibc はこのシステムコールに対するラッパー関数を提供していない。
+このシステムコールは呼び出すには
 .BR syscall (2)
-¤ò»È¤¦¤³¤È¡£
+を使うこと。
 .\"O .SH "SEE ALSO"
-.SH ´ØÏ¢¹àÌÜ
+.SH 関連項目
 .BR modify_ldt (2),
 .BR set_thread_area (2)