This section is based on catpages contributed by Mainichi Communications, Inc. Translated by: MYCOM team Converted by: Japanese Online Manual Project <man-jp@jp.FreeBSD.ORG> Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.jp>
108 lines
3.3 KiB
Groff
108 lines
3.3 KiB
Groff
.\" Copyright (c) 1983, 1991, 1993
|
|
.\" The Regents of the University of California. All rights reserved.
|
|
.\"
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
.\" modification, are permitted provided that the following conditions
|
|
.\" are met:
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
.\" must display the following acknowledgement:
|
|
.\" This product includes software developed by the University of
|
|
.\" California, Berkeley and its contributors.
|
|
.\" 4. Neither the name of the University nor the names of its contributors
|
|
.\" may be used to endorse or promote products derived from this software
|
|
.\" without specific prior written permission.
|
|
.\"
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
.\" SUCH DAMAGE.
|
|
.\"
|
|
.\" @(#)sigsetops.3 8.1 (Berkeley) 6/4/93
|
|
.\"
|
|
.Dd June 4, 1993
|
|
.Dt SIGSETOPS 3
|
|
.Os
|
|
.Sh ̾¾Î
|
|
.Nm sigemptyset ,
|
|
.Nm sigfillset ,
|
|
.Nm sigaddset ,
|
|
.Nm sigdelset ,
|
|
.Nm sigismember
|
|
.Nd ¿®¹æ¥»¥Ã¥È¤òÁàºî
|
|
.Sh ½ñ¼°
|
|
.Fd #include <signal.h>
|
|
.Ft int
|
|
.Fn sigemptyset "sigset_t *set"
|
|
.Ft int
|
|
.Fn sigfillset "sigset_t *set"
|
|
.Ft int
|
|
.Fn sigaddset "sigset_t *set" "int signo"
|
|
.Ft int
|
|
.Fn sigdelset "sigset_t *set" "int signo"
|
|
.Ft int
|
|
.Fn sigismember "const sigset_t *set" "int signo"
|
|
.Sh ²òÀâ
|
|
¤³¤ì¤é¤Î´Ø¿ô¤Ï¡¢
|
|
.Fa sigset_t
|
|
¤ËÊݸ¤µ¤ì¤¿¿®¹æ¥»¥Ã¥È¤òÁàºî¤·¤Þ¤¹¡£
|
|
.Fa sigset_t
|
|
·¿¤Î³Æ¥ª¥Ö¥¸¥§¥¯¥È¤Ë¤Ä¤¤¤Æ
|
|
.Fn sigemptyset
|
|
¤Þ¤¿¤Ï
|
|
.Fn sigfillset
|
|
¤Î¤É¤Á¤é¤«¤ò¸Æ¤Ó½Ð¤·¤¿¸å¤Ç¡¢¥ª¥Ö¥¸¥§¥¯¥È¤ò¾¤Î¤è¤¦¤Ë»ÈÍѤ·¤Þ¤¹¡£
|
|
.Pp
|
|
.Fn sigemptyset
|
|
´Ø¿ô¤Ï¿®¹æ¥»¥Ã¥È¤ò¶õ¤Ë½é´ü²½¤·¤Þ¤¹¡£
|
|
.Pp
|
|
.Fn sigfillset
|
|
´Ø¿ô¤Ï¡¢¿®¹æ¥»¥Ã¥È¤ò¤¹¤Ù¤Æ¤Î¿®¹æ¤¬´Þ¤Þ¤ì¤ë¤è¤¦¤Ë½é´ü²½¤·¤Þ¤¹¡£
|
|
.Pp
|
|
.Fn sigaddset
|
|
´Ø¿ô¤Ï¡¢¿®¹æ¥»¥Ã¥È¤Ë¡¢»ØÄê¤Î¿®¹æ
|
|
.Fa signo
|
|
¤òÄɲä·¤Þ¤¹¡£
|
|
.Pp
|
|
.Fn sigdelset
|
|
´Ø¿ô¤Ï¡¢¿®¹æ¥»¥Ã¥È¤«¤é¡¢»ØÄê¤Î¿®¹æ
|
|
.Fa signo
|
|
¤òºï½ü¤·¤Þ¤¹¡£
|
|
.Pp
|
|
.Fn sigismember
|
|
´Ø¿ô¤Ï¡¢»ØÄê¤Î¿®¹æ
|
|
.Fa signo
|
|
¤¬¿®¹æ¥»¥Ã¥È¤Ë´Þ¤Þ¤ì¤ë¤«¤É¤¦¤«¤òÊÖ¤·¤Þ¤¹¡£
|
|
.Pp
|
|
¤³¤ì¤é¤Î´Ø¿ô¤Ï
|
|
¥¤¥ó¥¯¥ë¡¼¥É¥Õ¥¡¥¤¥ë <signal.h> Æâ¤Ë¥Þ¥¯¥í¤È¤·¤ÆÈ÷¤¨¤é¤ì¤Æ¤¤¤Þ¤¹¡£
|
|
(#undef
|
|
.Em ̾Á°
|
|
¤ò»ÈÍѤ·¤Æ)̾Á°¤¬Ì¤ÄêµÁ¤Ç¤¢¤Ã¤Æ¤â¼ÂºÝ¤Î´Ø¿ô¤ÏÍøÍѤǤ¤Þ¤¹ ¡£
|
|
.Sh Ìá¤êÃÍ
|
|
.Fn sigismember
|
|
´Ø¿ô¤Ï¡¢¿®¹æ¤¬¥»¥Ã¥È¤Î¥á¥ó¥Ð¤Ç¤¢¤ë¾ì¹ç¤Ï
|
|
1 ¤òÊÖ¤·¤Þ¤¹¡£
|
|
¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ï 0 ¤òÊÖ¤·¤Þ¤¹¡£
|
|
¾¤Î´Ø¿ô¤Ï 0 ¤òÊÖ¤·¤Þ¤¹¡£
|
|
.Sh ¥¨¥é¡¼
|
|
¸½»þÅÀ¤Ç¤Ï¥¨¥é¡¼¤Ï¸¡½Ð¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£
|
|
.Sh ´ØÏ¢¹àÌÜ
|
|
.Xr kill 2 ,
|
|
.Xr sigaction 2 ,
|
|
.Xr sigsuspend 2
|
|
.Sh µ¬³Ê
|
|
¤³¤ì¤é¤Î´Ø¿ô¤Ï¡¢
|
|
.St -p1003.1-88
|
|
¤Ë¤è¤Ã¤ÆÄêµÁ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
|