File: shm_overview.7

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 (133 lines) | stat: -rw-r--r-- 4,174 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
'\" t
.\" Hey Emacs! This file is -*- nroff -*- source.
.\"
.\" Copyright (C) 2008, Linux Foundation, written by Michael Kerrisk
.\" <mtk.manpages@gmail.com>
.\"
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Permission is granted to copy and distribute modified versions of this
.\" manual under the conditions for verbatim copying, provided that the
.\" entire resulting derived work is distributed under the terms of a
.\" permission notice identical to this one.
.\"
.\" Since the Linux kernel and libraries are constantly changing, this
.\" manual page may be incorrect or out-of-date.  The author(s) assume no
.\" responsibility for errors or omissions, or for damages resulting from
.\" the use of the information contained herein.  The author(s) may not
.\" have taken the same level of care in the production of this manual,
.\" which is licensed free of charge, as they might when working
.\" professionally.
.\"
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
.\" Japanese Version Copyright (c) 2008  Akihiro MOTOKI
.\"         all rights reserved.
.\" Translated 2008-08-21, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v3.04
.\"
.TH SHM_OVERVIEW 7 2008-06-25 "Linux" "Linux Programmer's Manual"
.SH ̾
shm_overview \- POSIX ͭγ
.SH 
POSIX ͭ API ѤȡΤΰͭơ
ץ֤Ǿꤹ뤳ȤǤ롣

 API ǤϰʲΥ󥿡եѤƤ롣
.TP 15
.BR shm_open (3)
֥Ȥץ󤹤롢⤷
¸Υ֥Ȥ򥪡ץ󤹤롣
.BR open (2)
ƱǤ롣ˤ¾Υ󥿡եǻѤ
եǥץ֤
.TP
.BR ftruncate (2)
ͭꥪ֥Ȥ礭ꤹ롣
.TP
.BR mmap (2)
ƤӽФץβۥɥ쥹֤˶ͭꥪ֥Ȥ
ޥåפ롣
.TP
.BR munmap (2)
ƤӽФץβۥɥ쥹֤
ͭꥪ֥Ȥ򥢥ޥåפ롣
.TP
.BR shm_unlink (3)
ͭꥪ֥̾롣
.TP
.BR close (2)
.BR shm_open (3)
dzƤ줿եǥץפˤʤäݤˡ
Υեǥץ򥯥롣
.TP
.BR fstat (2)
ζͭꥪ֥ȤˤĤƤξä
.I stat
¤Τ롣
Υƥॳ뤬֤ˤϡ֥ȤΥ
.RI ( st_size )
°
.RI ( st_mode )
ͭ
.RI ( st_uid )
.RI ( st_gid )
.TP
.BR fchown (2)
ͭꥪ֥Ȥνͭѹ롣
.TP
.BR fchmod (2)
ͭꥪ֥Ȥε°ѹ롣
.SS С
POSIX ͭ Linux 2.4  glibc 2.2 ʹߤǥݡȤƤ롣
.SS ³
POSIX ͭꥪ֥Ȥϥͥݻ롣
ͭꥪ֥Ȥϡƥबåȥ󤵤뤫
ƤΥץΥ֥Ȥ򥢥ޥåפ
.BR shm_unlink (3)
Ǻޤǡ¸ߤ³롣
.SS 
POSIX ͭ API Ѥץ
.I cc \-lrt
ǥѥ뤷ꥢ륿饤֥
.I librt
ȥ󥯤ʤФʤʤ
.SS ե륷ƥͳǤζͭꥪ֥ȤؤΥ
Linux Ǥϡͭꥪ֥Ȥ̾
.I /dev/shm
ʲ˥ޥȤ벾ۥե륷ƥ
.RI ( tmpfs )
˺롣
ͥ 2.6.19 ʹߤ Linux Ǥϡ
ۥե륷ƥΥ֥Ȥε°ˡ
ꥹ (ACL; access control lists) ȤȤǤ롣
.SH 
POSIX.1-2001.
.SH 
̾ϡͭꥪ֥Ȥ˥ץϡ
POSIX ޥեʤɤȤäƥץ֤ƱȤʤФʤʤ

System V ͭ
.RB ( shmget (2),
.BR shmop (2)
ʤ) ϸŤͭ API Ǥ롣
POSIX ͭϡñǡޤ߷פ줿󥿥ե󶡤Ƥ롣
ǡPOSIX ͭ System V ͭ٤
ѤǤ륷ƥबʤ (äˡŤƥǤϾʤ)
.SH Ϣ
.BR fchmod (2),
.BR fchown (2),
.BR fstat (2),
.BR ftruncate (2),
.BR mmap (2),
.BR mprotect (2),
.BR munmap (2),
.BR shmget (2),
.BR shmop (2),
.BR shm_open (3),
.BR shm_unlink (3),
.BR sem_overview (7)