OSDN Git Service

(split) Move Japanese translation histories after original history sections.
[linuxjm/LDP_man-pages.git] / draft / man3 / psignal.3
1 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
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 .\" References consulted:
24 .\"     Linux libc source code
25 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
26 .\"     386BSD man pages
27 .\" Modified Sat Jul 24 18:45:17 1993 by Rik Faith (faith@cs.unc.edu)
28 .\" FIXME glibc 2.10 adds psiginfo(), specified in SUSv4.  This function
29 .\" should be documented, probably on this page.
30 .\"
31 .\" Japanese Version Copyright (c) 1997 HIROFUMI Nishizuka
32 .\"     all rights reserved.
33 .\" Translated Fri Dec 26 13:19:15 JST 1997
34 .\"     by HIROFUMI Nishizuka <nishi@rpts.cl.nec.co.jp>
35 .\"
36 .TH PSIGNAL 3  2008-08-21 "GNU" "Linux Programmer's Manual"
37 .\"O .SH NAME
38 .SH Ì¾Á°
39 .\"O psignal \- print signal message
40 psignal \- ¥·¥°¥Ê¥ë¥á¥Ã¥»¡¼¥¸¤òɽ¼¨
41 .\"O .SH SYNOPSIS
42 .SH ½ñ¼°
43 .nf
44 .B #include <signal.h>
45 .sp
46 .BI "void psignal(int " sig ", const char *" s );
47 .sp
48 .BI "extern const char *const " sys_siglist [];
49 .fi
50 .sp
51 .in -4n
52 .\"O Feature Test Macro Requirements for glibc (see
53 .\"O .BR feature_test_macros (7)):
54 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
55 .RB ( feature_test_macros (7)
56 »²¾È):
57 .in
58 .sp
59 .BR psignal ():
60 _SVID_SOURCE || _BSD_SOURCE
61 .br
62 .IR sys_siglist :
63 _BSD_SOURCE
64 \"O .SH DESCRIPTION
65 .SH ÀâÌÀ
66 .\"O The
67 .\"O .BR psignal ()
68 .\"O function displays a message on \fIstderr\fP
69 .\"O consisting of the string \fIs\fP, a colon, a space, and a string
70 .\"O describing the signal number \fIsig\fP.
71 .\"O If \fIsig\fP is invalid,
72 .\"O the message displayed will indicate an unknown signal.
73 .BR psignal ()
74 ´Ø¿ô¤Ï¡¢Ê¸»úÎó \fIs\fP¡¢¥³¥í¥ó¡¢¥¹¥Ú¡¼¥¹¡¢
75 ¥·¥°¥Ê¥ëÈÖ¹æ \fIsig\fP ¤òÀâÌÀ¤¹¤ëʸ»úÎ󤫤鹽À®¤µ¤ì¤ë¥á¥Ã¥»¡¼¥¸¤ò
76 \fIstderr\fP ¤Ëɽ¼¨¤¹¤ë¡£¤â¤· \fIsig\fP ¤¬ÉÔÀµ¤Ê¤é¤Ð¡¢É½¼¨¤µ¤ì¤ë
77 ¥á¥Ã¥»¡¼¥¸¤Ï̤ÃΤΥ·¥°¥Ê¥ë¤ò¼¨¤¹¡£
78 .PP
79 .\"O The array \fIsys_siglist\fP holds the signal description strings
80 .\"O indexed by signal number.
81 ÇÛÎó \fIsys_siglist\fP ¤Ï¥·¥°¥Ê¥ë¤òÀâÌÀ¤¹¤ëʸ»úÎó¤òÊÝ»ý¤·¤Æ¤ª¤ê¡¢
82 ÇÛÎó¤Ø¤Î¥¢¥¯¥»¥¹¤Ë¤Ï¥·¥°¥Ê¥ëÈÖ¹æ¤òź¤¨»ú¤È¤·¤ÆÍѤ¤¤ë»ö¤¬¤Ç¤­¤ë¡£
83 .\"O .SH "RETURN VALUE"
84 .SH ÊÖ¤êÃÍ
85 .\"O The
86 .\"O .BR psignal ()
87 .\"O function returns no value.
88 .BR psignal ()
89 ´Ø¿ô¤Ï¡¢ÃͤòÊÖ¤µ¤Ê¤¤¡£
90 .\"O .SH "CONFORMING TO"
91 .SH ½àµò
92 POSIX.1-2008, 4.3BSD.
93 .\"O .SH "SEE ALSO"
94 .SH ´ØÏ¢¹àÌÜ
95 .BR perror (3),
96 .BR strsignal (3)