OSDN Git Service

Retire LDP man-pages repository
[linuxjm/LDP_man-pages.git] / release / man2 / set_thread_area.2
diff --git a/release/man2/set_thread_area.2 b/release/man2/set_thread_area.2
deleted file mode 100644 (file)
index ac7fc35..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-.\" Copyright (C) 2003 Free Software Foundation, Inc.
-.\" Author: Kent Yoder
-.\"
-.\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
-.\" This file is distributed according to the GNU General Public License.
-.\" %%%LICENSE_END
-.\"
-.\"*******************************************************************
-.\"
-.\" This file was generated with po4a. Translate the source file.
-.\"
-.\"*******************************************************************
-.\"
-.\" Japanese Version Copyright (c) 2003  Akihiro MOTOKI
-.\"         all rights reserved.
-.\" Translated 2003-07-08, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
-.\" Updated 2005-02-24, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
-.\" Updated 2013-04-03, Akihiro MOTOKI <amotoki@gmail.com>
-.\"
-.TH SET_THREAD_AREA 2 2012\-07\-13 Linux "Linux Programmer's Manual"
-.SH 名前
-set_thread_area \- スレッド局所記憶 (TLS) 領域を設定する
-.SH 書式
-\fB#include <linux/unistd.h>\fP
-.br
-\fB#include <asm/ldt.h>\fP
-.sp
-\fBint set_thread_area(struct user_desc *\fP\fIu_info\fP\fB);\fP
-
-\fI注\fP: このシステムコールには glibc のラッパー関数は存在しない。「注意」の節を参照。
-.SH 説明
-\fBset_thread_area\fP()  は、カレントスレッドのスレッド局所記憶 (thread\-local storage; TLS)
-配列の中のエントリーを設定する。 \fBset_thread_area\fP()  により設定される TLS
-配列のエントリーは、ユーザーから引き数として渡される \fIu_info\->entry_number\fP の値に対応している。値が範囲内にある場合、
-\fBset_thread_area\fP()  は \fIu_info\fP で指された TLS ディスクリプターをスレッドの TLS 配列にコピーする。
-.PP
-\fIentry_number\fP として \-1 が渡された場合、 \fBset_thread_area\fP()  は未使用 (free) の TLS
-エントリーを使用する。 未使用の TLS エントリーがあった場合、どのエントリーが変更されたかが分かる ように終了時に
-\fIu_info\->entry_number\fP の値が変更される。
-.SH 返り値
-\fBset_thread_area\fP()  は成功した場合 0 を返す。失敗した場合は \-1 を返し、 \fIerrno\fP を適切に設定する。
-.SH エラー
-.TP 
-\fBEINVAL\fP
-\fIu_info\->entry_number\fP が範囲外である。
-.TP 
-\fBEFAULT\fP
-\fIu_info\fP が不正なポインターである。
-.TP 
-\fBESRCH\fP
-未使用の TLS エントリーが見つからなかった。
-.SH バージョン
-\fBset_thread_area\fP()  は Linux 2.5.29 で初めて登場した。
-.SH 準拠
-\fBset_thread_area\fP()  は Linux 独自であり、移植を意図したプログラムでは使用すべきではない。
-.SH 注意
-このシステムコールは通常はスレッドライブラリでのみ使用されることを目的として用意されているため、 glibc
-はこのシステムコールに対するラッパー関数を提供していない。おそらくないと思うが、このシステムコールを直接呼び出したい場合は \fBsyscall\fP(2)
-を使うこと。
-.SH 関連項目
-\fBget_thread_area\fP(2)
-.SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.79 の一部
-である。プロジェクトの説明とバグ報告に関する情報は
-http://www.kernel.org/doc/man\-pages/ に書かれている。