OSDN Git Service

3cb6df9da1db5a6b2f692d0d99041dbe5ab56cb7
[linuxjm/LDP_man-pages.git] / draft / man2 / sgetmask.2
1 '\" t
2 .\" Copyright (c) 2007 by Michael Kerrisk <mtk.manpages@gmail.com>
3 .\"
4 .\" Permission is granted to make and distribute verbatim copies of this
5 .\" manual provided the copyright notice and this permission notice are
6 .\" preserved on all copies.
7 .\"
8 .\" Permission is granted to copy and distribute modified versions of this
9 .\" manual under the conditions for verbatim copying, provided that the
10 .\" entire resulting derived work is distributed under the terms of a
11 .\" permission notice identical to this one.
12 .\"
13 .\" Since the Linux kernel and libraries are constantly changing, this
14 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
15 .\" responsibility for errors or omissions, or for damages resulting from
16 .\" the use of the information contained herein.  The author(s) may not
17 .\" have taken the same level of care in the production of this manual,
18 .\" which is licensed free of charge, as they might when working
19 .\" professionally.
20 .\"
21 .\" Formatted or processed versions of this manual, if unaccompanied by
22 .\" the source, must acknowledge the copyright and authors of this work.
23 .\"
24 .\" Japanese Version Copyright (c) 2007  Akihiro MOTOKI
25 .\"         all rights reserved.
26 .\" Translated 2007-10-16, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v2.66
27 .\" 
28 .TH SGETMASK 2  2007-07-05 "Linux" "Linux Programmer's Manual"
29 .\"O .SH NAME
30 .SH 名前
31 .\"O sgetmask, ssetmask \- manipulation of signal mask (obsolete)
32 sgetmask, ssetmask \- シグナルマスクの操作 (廃止予定)
33 .\"O .SH SYNOPSIS
34 .SH 書式
35 .B "long sgetmask(void);"
36 .sp
37 .BI "long ssetmask(long " newmask );
38 .\"O .SH DESCRIPTION
39 .SH 説明
40 .\"O These system calls are obsolete.
41 .\"O .IR "Do not use them" ;
42 .\"O use
43 .\"O .BR sigprocmask (2)
44 .\"O instead.
45 これらのシステムコールは廃止予定であり、
46 「使用しないこと」。
47 代わりに
48 .BR sigprocmask (2)
49 を使用すること。
50
51 .\"O .BR sgetmask ()
52 .\"O returns the signal mask of the calling process.
53 .BR sgetmask ()
54 は、呼び出し元プロセスのシグナルマスクを返す。
55
56 .\"O .BR ssetmask ()
57 .\"O sets the signal mask of the calling process to the value given in
58 .\"O .IR newmask .
59 .\"O The previous signal mask is returned.
60 .BR ssetmask ()
61 は、呼び出し元プロセスのシグナルマスクを
62 .I newmask
63 で指定された値に設定し、変更前のシグナルマスクを返す。
64
65 .\"O The signal masks dealt with by these two system calls
66 .\"O are plain bit masks (unlike the
67 .\"O .I sigset_t
68 .\"O used by
69 .\"O .BR sigprocmask (2));
70 .\"O use
71 .\"O .BR sigmask (3)
72 .\"O to create and inspect these masks.
73 これら二つのシステムコールが扱うシグナルマスクは、
74 単純なビットマスクである (この点が
75 .BR sigprocmask (2)
76 で使用される
77 .I sigset_t
78 と異なる)。
79 これらのマスクを作成したり検査するには
80 .BR sigmask (3)
81 を使用すること。
82 .\"O .SH RETURN VALUE
83 .SH 返り値
84 .\"O .BR sgetmask ()
85 .\"O always successfully returns the signal mask.
86 .\"O .BR ssetmask ()
87 .\"O always succeeds, and returns the previous signal mask.
88 .BR sgetmask ()
89 は常に成功し、シグナルマスクを返す。
90 .BR ssetmask ()
91 は常に成功し、直前のシグナルマスクを返す。
92 .\"O .SH ERRORS
93 .SH エラー
94 .\"O These system calls always succeed.
95 これらのシステムコールは常に成功する。
96 .\"O .SH CONFORMING TO
97 .SH 準拠
98 .\"O These system calls are Linux-specific.
99 これらのシステムコールは Linux 固有である。
100 .\"O .SH NOTES
101 .SH 注意
102 .\"O Glibc does not provide wrappers for these system calls; use
103 .\"O .BR syscall (2).
104 glibc はこれらのシステムコールに対するラッパー関数を提供していない。
105 .BR syscall (2)
106 を使用すること。
107
108 .\"O These system calls are unaware of signal numbers greater than 31
109 .\"O (i.e., real-time signals).
110 これらのシステムコールは、
111 31 より大きいシグナル番号 (つまり、リアルタイムシグナル) を扱えない。
112
113 .\"O It is not possible to block
114 .\"O .B SIGSTOP
115 .\"O or
116 .\"O .BR SIGKILL .
117 .B SIGSTOP
118
119 .B SIGKILL
120 をブロックすることはできない。
121 .\"O .SH SEE ALSO
122 .SH 関連項目
123 .BR sigprocmask (2),
124 .BR signal (7)