File: get_thread_area.2

package info (click to toggle)
manpages-ja 0.5.0.0.20100315-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 21,156 kB
  • ctags: 1
  • sloc: sh: 13,935; perl: 157; makefile: 114
file content (61 lines) | stat: -rw-r--r-- 1,700 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
.\" Copyright (C) 2003 Free Software Foundation, Inc.
.\" This file is distributed according to the GNU General Public License.
.\" See the file COPYING in the top level source directory for details.
.\"
.\" Written by Kent Yoder.
.\"
.\" 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>
.\"
.\"WORD:	Thread Local Storage	åɶɽ국
.\"
.TH GET_THREAD_AREA 2 2008-11-27 "Linux" "Linux Programmer's Manual"
.SH ̾
get_thread_area \- åɶɽ국 (TLS) ΰФ
.SH 
.B #include <linux/unistd.h>
.br
.B #include <asm/ldt.h>
.sp
.BI "int get_thread_area(struct user_desc *" u_info );
.SH 
.BR get_thread_area ()
ϡȡåɤΥåɶɽ국
(Thread Local Storage; TLS) Υȥ֤
ȥΥǥåϡ桼ȤϤ
\fIu_info\->entry_number\fP ͤбƤ롣
ͤϰˤ硢
.BR get_thread_info ()
б TLS ȥ
\fIu_info\fP ǻؤ줿ΰ˥ԡ롣
.SH ֤
.BR get_thread_area ()
 0 ֤
Ǥʤ硢 \-1 ֤
.I errno
Ŭڤͤ򥻥åȤ롣
.SH 顼
.TP
.B EFAULT
\fIu_info\fP ʥݥ󥿤Ǥ롣
.TP
.B EINVAL
\fIu_info\->entry_number\fP ϰϳǤ롣
.SH С
.BR get_thread_area ()
 Linux 2.5.32 ǽо줷
.SH 
.BR get_thread_area ()
 Linux ȼδؿǤꡢ
ܿտޤץǤϻѤ٤ǤϤʤ
.SH 
glibc ϤδؿФåѡؿ󶡤Ƥʤ
ΥƥॳϸƤӽФˤ
.BR syscall (2)
Ȥȡ
.SH Ϣ
.BR modify_ldt (2),
.BR set_thread_area (2)