File: get_thread_area.2

package info (click to toggle)
manpages-ja 0.5.0.0.20050315-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 18,620 kB
  • ctags: 4
  • sloc: sh: 12,675; perl: 157; makefile: 106
file content (55 lines) | stat: -rw-r--r-- 1,581 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
.\" 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 "2003-02-21" "Linux 2.5.32" "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 
.B get_thread_area
ϡȡåɤΥåɶɽ국
(Thread Local Storage; TLS) Υȥ֤
ȥΥǥåϡ桼ȤϤ
\fIu_info->\fR\fIentry_number\fR ͤбƤ롣
ͤϰˤ硢 \fBget_thread_info\fR б TLS ȥ
\fIu_info\fR ǻؤ줿ΰ˥ԡ롣

.SH ֤
 \fBget_thread_area\fR  0 ֤
Ǥʤ硢 \-1 ֤
.I errno
Ŭڤͤ򥻥åȤ롣

.SH 顼
.TP
.B EFAULT
\fIu_info\fR ʥݥ󥿤Ǥ롣
.TP
.B EINVAL
\fIu_info->\fR\fIentry_number\fR ϰϳǤ롣
.SH 
.B get_thread_area
 Linux ȼδؿǤꡢ
ܿտޤץǤϻѤ٤ǤϤʤ
.SH 
.B get_thread_area
 Linux 2.5.32 ǽо줷
.SH Ϣ
.BR modify_ldt (2),
.BR set_thread_area (2)