OSDN Git Service

642734602854505e6147a75f4d5618e8ed66036d
[linuxjm/LDP_man-pages.git] / release / man3 / sigpause.3
1 .\" Copyright (C) 2004 Andries Brouwer (aeb@cwi.nl)
2 .\"
3 .\" Permission is granted to make and distribute verbatim copies of this
4 .\" manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
6 .\"
7 .\" Permission is granted to copy and distribute modified versions of this
8 .\" manual under the conditions for verbatim copying, provided that the
9 .\" entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one.
11 .\"
12 .\" Since the Linux kernel and libraries are constantly changing, this
13 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
14 .\" responsibility for errors or omissions, or for damages resulting from
15 .\" the use of the information contained herein.  The author(s) may not
16 .\" have taken the same level of care in the production of this manual,
17 .\" which is licensed free of charge, as they might when working
18 .\" professionally.
19 .\"
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
22 .\"
23 .\" Japanese Version Copyright (c) 1997 HANATAKA Shinya
24 .\"         all rights reserved.
25 .\" Translated 1997-03-03, HANATAKA Shinya <hanataka@abyss.rim.or.jp>
26 .\" Updated 2005-12-05, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
27 .\"   Catch up to LDP man-pages 2.16
28 .\"   Rename sigpause.2 to sigpause.3, and modified a little.
29 .\"
30 .\"WORD:        signal                  ¥·¥°¥Ê¥ë
31 .\"WORD:        interrupt               ³ä¤ê¹þ¤ß
32 .\"WORD:        mask                    ¥Þ¥¹¥¯
33 .\"WORD:        block                   ¥Ö¥í¥Ã¥¯¤¹¤ë
34 .\"
35 .TH SIGPAUSE 3 2010-09-12 "Linux" "Linux Programmer's Manual"
36 .SH Ì¾Á°
37 sigpause \- ¥Ö¥í¥Ã¥¯¤µ¤ì¤¿¥·¥°¥Ê¥ë¤ò¥¢¥È¥ß¥Ã¥¯¤Ë²òÊü¤·¤Æ³ä¤ê¹þ¤ß¤òÂÔ¤Ä
38 .SH ½ñ¼°
39 .nf
40 .B #include <signal.h>
41 .sp
42 .BI "int sigpause(int " sigmask ");  /* BSD */"
43 .sp
44 .BI "int sigpause(int " sig ");      /* System V / UNIX 95 */"
45 .fi
46 .SH ÀâÌÀ
47 ¤³¤Î´Ø¿ô¤ò»È¤ï¤Ê¤¤¤³¤È¡£
48 Âå¤ï¤ê¤Ë
49 .BR sigsuspend (2)
50 ¤ò»È¤¦¤³¤È¡£
51 .LP
52 ´Ø¿ô
53 .BR sigpause ()
54 ¤Ï¥·¥°¥Ê¥ë¤òÂԤĤ褦¤ËÀ߷פµ¤ì¤Æ¤¤¤ë¡£
55 ¤³¤Î´Ø¿ô¤Ï¥×¥í¥»¥¹¤Î¥·¥°¥Ê¥ë¥Þ¥¹¥¯ (¥Ö¥í¥Ã¥¯¤µ¤ì¤¿¥·¥°¥Ê¥ë¤Î¥»¥Ã¥È) ¤òÊѹ¹¤·¡¢
56 ¥·¥°¥Ê¥ë¤¬ÅþÃ夹¤ë¤Î¤òÂԤġ£
57 ¥·¥°¥Ê¥ë¤¬ÅþÃ夹¤ë¤È¡¢¥·¥°¥Ê¥ë¥Þ¥¹¥¯¤Ï¸µ¤ËÌᤵ¤ì¤ë¡£
58 .SH ÊÖ¤êÃÍ
59 .BR sigpause ()
60 ¤¬Ê֤俾ì¹ç¡¢¤³¤Î´Ø¿ô¤Ï¥·¥°¥Ê¥ë¤Ë¤è¤Ã¤Æ³ä¤ê¹þ¤Þ¤ì¤Æ¤¤¤ë¡£
61 ÊÖ¤êÃͤϠ\-1 ¤Ç¡¢
62 .I errno
63 ¤Ï
64 .B EINTR
65 ¤ËÀßÄꤵ¤ì¤ë¡£
66 .SH ½àµò
67 System V ÈǤÎ
68 .BR sigpause ()
69 ¤Ï POSIX.1-2001 ¤Çɸ½à²½¤µ¤ì¤Æ¤¤¤ë¡£
70 .SH È÷¹Í
71 .SS Îò»Ë
72 ¤³¤Î´Ø¿ô¤Î¸ÅŵŪ¤Ê BSD ÈǤϠ4.2BSD ¤ÇÅо줷¤¿¡£
73 ¤³¤Î´Ø¿ô¤Ï¥×¥í¥»¥¹¤Î¥·¥°¥Ê¥ë¥Þ¥¹¥¯¤ò
74 .I sigmask
75 ¤ËÀßÄꤹ¤ë¡£
76 UNIX 95 ¤Ç¤Ï BSD ÈǤȸߴ¹À­¤Î¤Ê¤¤ System V ÈǤΤ³¤Î´Ø¿ô¤¬É¸½à²½¤µ¤ì¤¿¡£
77 UNIX 95 ÈǤϡ¢»ØÄꤵ¤ì¤¿¥·¥°¥Ê¥ë
78 .I sig
79 ¤ò¥×¥í¥»¥¹¤Î¥·¥°¥Ê¥ë¥Þ¥¹¥¯¤«¤éºï½ü¤¹¤ë¤À¤±¤Ç¤¢¤ë¡£
80 .\" __xpg_sigpause: UNIX 95, spec 1170, SVID, SVr4, XPG
81 Ʊ¤¸Ì¾Á°¤Ç¸ß´¹À­¤Î¤Ê¤¤ 2 ¤Ä¤Î´Ø¿ô¤¬¤¢¤ë¤È¤¤¤¦ÉÔ¹¬¤Ê»öÂ֤ϡ¢
82 .BR \%sigsuspend (2)
83 ´Ø¿ô¤Ë¤è¤Ã¤Æ²ò¾Ã¤µ¤ì¤¿¡£
84 ¤³¤Î´Ø¿ô¤Ï
85 .RI ( int
86 ¤ÎÂå¤ï¤ê¤Ë)
87 .B "sigset_t *"
88 °ú¤­¿ô¤ò¤È¤ë¡£
89 .SS Linux ¤Ç¤ÎÃí°Õ
90 Linux ¤Ç¤Ï¡¢¤³¤Î¥ë¡¼¥Á¥ó¤Ï Sparc (sparc64) ¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Ç¤Î¤ß
91 ¥·¥¹¥Æ¥à¥³¡¼¥ë¤È¤Ê¤Ã¤Æ¤¤¤ë¡£
92
93 libc4 ¤È libc5 ¤Ë¤Ï BSD ÈǤ·¤«¤Ê¤¤¡£
94
95 µ¡Ç½¸¡ºº¥Þ¥¯¥í
96 .B _BSD_SOURCE
97 ¤¬ÄêµÁ¤µ¤ì¡¢
98 .BR _POSIX_SOURCE ,
99 .BR _POSIX_C_SOURCE ,
100 .BR _XOPEN_SOURCE ,
101 .BR _GNU_SOURCE ,
102 .B _SVID_SOURCE
103 ¤Î¤¤¤º¤ì¤âÄêµÁ¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢
104 glibc ¤Ï BSD ÈǤò»È¤¦¡£
105 ¤½¤ì°Ê³°¤Î¾ì¹ç¤Ë¤Ï¡¢System V ÈǤò»ÈÍѤ¹¤ë¡£
106 .\"
107 .\" BSD ÈǤǤϡ¢
108 .\" .RI ¡Ö sigmask
109 .\" ¤ò 0 ¤Ë¤·¤Æ¡¢¤É¤Î¥·¥°¥Ê¥ë¤â¥Ö¥í¥Ã¥¯¤µ¤ì¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¡×
110 .\" ¤È¤¤¤¦¤Î¤¬¤è¤¯»È¤ï¤ì¤ë¡£
111 .SH ´ØÏ¢¹àÌÜ
112 .BR kill (2),
113 .BR sigaction (2),
114 .BR sigprocmask (2),
115 .BR sigsuspend (2),
116 .BR sigblock (3),
117 .BR sigvec (3),
118 .BR feature_test_macros (7)