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>
91 lines
3 KiB
Groff
91 lines
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.
|
|
.\"
|
|
.\" @(#)psignal.3 8.2 (Berkeley) 2/27/95
|
|
.\"
|
|
.\" jpman %Id%
|
|
.\"
|
|
.Dd February 27, 1995
|
|
.Dt PSIGNAL 3
|
|
.Os BSD 4.2
|
|
.Sh ̾¾Î
|
|
.Nm psignal ,
|
|
.Nm sys_siglist ,
|
|
.Nm sys_signame
|
|
.Nd ¥·¥¹¥Æ¥à¥·¥°¥Ê¥ë¥á¥Ã¥»¡¼¥¸
|
|
.Sh ½ñ¼°
|
|
.Fd #include <signal.h>
|
|
.Ft void
|
|
.Fn psignal "unsigned sig" "const char *s"
|
|
.Vt extern const char * const sys_siglist[];
|
|
.Vt extern const char * const sys_signame[];
|
|
.Sh ²òÀâ
|
|
.Fn psignal
|
|
´Ø¿ô¤Ï¡¢¥·¥°¥Ê¥ëÈÖ¹æ
|
|
.Fa sig
|
|
¤ÎÀâÌÀ¥á¥Ã¥»¡¼¥¸Ê¸»úÎó¤òÆÃÄꤷ¡¢É¸½à¥¨¥é¡¼¤Ë½ñ¤¹þ¤ß¤Þ¤¹¡£
|
|
.Pp
|
|
°ú¿ô
|
|
.Fa s
|
|
¤¬¥Ì¥ë¤Ç¤Ï¤Ê¤¯¡¢¥Ê¥ëʸ»ú¤ò»Ø¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢
|
|
¥á¥Ã¥»¡¼¥¸Ê¸»úÎó¤ÎÁ°¤Ë
|
|
.Fa s
|
|
¤¬É¸½à¥¨¥é¡¼¥Õ¥¡¥¤¥ëµ½Ò»Ò¤Ë½ñ¤¹þ¤Þ¤ì¡¢
|
|
¤½¤Îľ¸å¤Ë¥³¥í¥ó¤È¥¹¥Ú¡¼¥¹¤¬Â³¤¤Þ¤¹¡£
|
|
¥·¥°¥Ê¥ëÈֹ椬ǧ¼±¤µ¤ì¤Ê¤¤¾ì¹ç
|
|
.Pq Xr sigaction 2 ,
|
|
ʸ»úÎó
|
|
.Dq "Unknown signal
|
|
¤¬½ñ¤¹þ¤Þ¤ì¤Þ¤¹¡£
|
|
.Pp
|
|
¥á¥Ã¥»¡¼¥¸Ê¸»úÎó¤Ë¤Ï¡¢
|
|
ǧ¼±¤µ¤ì¤¿¥·¥°¥Ê¥ëÈÖ¹æ¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹¤¬ÉÕ¤¤¤¿³°ÉôÇÛÎó
|
|
.Va sys_siglist
|
|
¤ÇľÀÜ¥¢¥¯¥»¥¹¤Ç¤¤Þ¤¹¡£³°ÉôÇÛÎó
|
|
.Va sys_signame
|
|
¤âƱ¤¸¤è¤¦¤Ë»ÈÍѤǤ¤Þ¤¹¡£
|
|
¤³¤Î³°ÉôÇÛÎó¤Ë¤Ï¡¢¿®¹æ¤Î´Ê·é¤Ê¾Êά·Á¤¬¾®Ê¸»ú¤Ç´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
|
|
¤³¤Î¾Êά·Á¤Ï¡¢¥æ¡¼¥¶ÆþÎϤǿ®¹æÌ¾¤òǧ¼±¤¹¤ë¾ì¹ç¤ËÊØÍø¤Ç¤¹¡£
|
|
ÄêµÁºÑ¤ßÊÑ¿ô
|
|
.Dv NSIG
|
|
¤Ë¤Ï¡¢
|
|
.Va sys_siglist
|
|
¤È
|
|
.Va sys_signame
|
|
¤Îʸ»úÎó¿ô¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
|
|
.Sh ´ØÏ¢¹àÌÜ
|
|
.Xr sigaction 2 ,
|
|
.Xr perror 3
|
|
.Sh Îò»Ë
|
|
.Fn psignal
|
|
´Ø¿ô¤Ï¡¢
|
|
.Bx 4.2
|
|
¤ËÄɲ䵤ì¤Þ¤·¤¿¡£
|