OSDN Git Service

(split) Import translated manuals from JM CVS Repository.
[linuxjm/LDP_man-pages.git] / draft / man3 / strsignal.3
1 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
2 .\"
3 .\" Japanese Version Copyright (c) 1997 HIROFUMI Nishizuka
4 .\"     all rights reserved.
5 .\" Translated Fri Dec 26 13:13:20 JST 1997
6 .\"     by HIROFUMI Nishizuka <nishi@rpts.cl.nec.co.jp>
7 .\" Modified Thu Dec 8 05:09:52 JST 1999
8 .\"     by Kentaro Shirakata <argrath@yo.rim.or.jp>
9 .\"
10 .\" Permission is granted to make and distribute verbatim copies of this
11 .\" manual provided the copyright notice and this permission notice are
12 .\" preserved on all copies.
13 .\"
14 .\" Permission is granted to copy and distribute modified versions of this
15 .\" manual under the conditions for verbatim copying, provided that the
16 .\" entire resulting derived work is distributed under the terms of a
17 .\" permission notice identical to this one.
18 .\"
19 .\" Since the Linux kernel and libraries are constantly changing, this
20 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
21 .\" responsibility for errors or omissions, or for damages resulting from
22 .\" the use of the information contained herein.  The author(s) may not
23 .\" have taken the same level of care in the production of this manual,
24 .\" which is licensed free of charge, as they might when working
25 .\" professionally.
26 .\"
27 .\" Formatted or processed versions of this manual, if unaccompanied by
28 .\" the source, must acknowledge the copyright and authors of this work.
29 .\"
30 .\" References consulted:
31 .\"     Linux libc source code
32 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
33 .\"     386BSD man pages
34 .\" Modified Sat Jul 24 17:59:03 1993 by Rik Faith (faith@cs.unc.edu)
35 .TH STRSIGNAL 3 2008-08-21 "GNU" "Linux Programmer's Manual"
36 .SH Ì¾Á°
37 strsignal \- ¥·¥°¥Ê¥ë¤òÀâÌÀ¤¹¤ëʸ»úÎó¤òÊÖ¤¹
38 .SH ½ñ¼°
39 .nf
40 .B #define _GNU_SOURCE
41 .br
42 .B #include <string.h>
43 .sp
44 .BI "char *strsignal(int " sig );
45 .sp
46 .BI "extern const char * const " sys_siglist [];
47 .fi
48 .SH ÀâÌÀ
49 .BR strsignal ()
50 ´Ø¿ô¤Ï¡¢°ú¿ô \fIsig\fP ¤ÇÅϤµ¤ì¤¿¥·¥°¥Ê¥ëÈÖ¹æ¤ò
51 ÀâÌÀ¤¹¤ëʸ»úÎó¤òÊÖ¤¹¡£
52 ʸ»úÎó¤Ï¡¢¼¡¤Î
53 .BR strsignal ()
54 ¤¬¸Æ¤Ð¤ì¤ë¤Þ¤Ç¤Î´Ö¤À¤±»ÈÍѤǤ­¤ë¡£
55 .PP
56 .\"O The array \fIsys_siglist\fP holds the signal description strings
57 .\"O indexed by signal number.
58 .\"O The
59 .\"O .BR strsignal ()
60 .\"O function should be
61 .\"O used if possible instead of this array.
62 ÇÛÎó \fIsys_siglist\fP ¤Ï¥·¥°¥Ê¥ë¤òÀâÌÀ¤¹¤ëʸ»úÎó¤òÊÝ»ý¤·¤Æ¤ª¤ê¡¢
63 ÇÛÎó¤Ø¤Î¥¢¥¯¥»¥¹¤Ë¤Ï¥·¥°¥Ê¥ëÈÖ¹æ¤òź¤¨»ú¤È¤·¤ÆÍѤ¤¤ë»ö¤¬¤Ç¤­¤ë¡£
64 ½ÐÍè¤ë¤À¤±¤³¤ÎÇÛÎó¤ÎÂå¤ï¤ê¤Ë
65 .BR strsignal ()
66 ´Ø¿ô¤ò
67 »È¤¦¤Ù¤­¤Ç¤¢¤ë¡£
68 .SH ÊÖ¤êÃÍ
69 .\"O The
70 .\"O .BR strsignal ()
71 .\"O function returns the appropriate description
72 .\"O string, or an unknown signal message if the signal number is invalid.
73 .\"O On some systems (but not on Linux), a NULL pointer may be
74 .\"O returned instead for an invalid signal number.
75 .BR strsignal ()
76 ´Ø¿ô¤Ï¡¢¥·¥°¥Ê¥ë¤ÎŬÀÚ¤ÊÀâÌÀ¤òÊÖ¤¹¡£
77 ¤â¤·¥·¥°¥Ê¥ëÈֹ椬ÉÔÀµ¤Ê¾ì¹ç¤Ï¡¢Ì¤ÃΤΥ·¥°¥Ê¥ë(unknown signal)¤ò¼¨¤¹
78 ¥á¥Ã¥»¡¼¥¸¤òÊÖ¤¹¡£
79 (Linux ¤Ï¤½¤¦¤Ç¤Ï¤Ê¤¤¤¬)ÉÔÀµ¤Ê¥·¥°¥Ê¥ëÈÖ¹æ¤ËÂФ·¤Æ¡¢ NULL ¥Ý¥¤¥ó¥¿¤ò
80 ÊÖ¤¹¥·¥¹¥Æ¥à¤â¤¢¤ë¡£
81 .\"O .SH "CONFORMING TO"
82 .SH ½àµò
83 POSIX.1-2008.
84 .\"O Present on Solaris and the BSDs.
85 Solaris ¤È BSD ·Ï¤Ë¤â¸ºß¤¹¤ë¡£
86 .SH ´ØÏ¢¹àÌÜ
87 .BR psignal (3),
88 .BR strerror (3),
89 .BR feature_test_macros (7)