OSDN Git Service

(split) Move Japanese translation histories after original history sections.
[linuxjm/LDP_man-pages.git] / draft / man3 / strsignal.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 17:59:03 1993 by Rik Faith (faith@cs.unc.edu)
28 .\"
29 .\" Japanese Version Copyright (c) 1997 HIROFUMI Nishizuka
30 .\"     all rights reserved.
31 .\" Translated Fri Dec 26 13:13:20 JST 1997
32 .\"     by HIROFUMI Nishizuka <nishi@rpts.cl.nec.co.jp>
33 .\" Modified Thu Dec 8 05:09:52 JST 1999
34 .\"     by Kentaro Shirakata <argrath@yo.rim.or.jp>
35 .\"
36 .TH STRSIGNAL 3 2010-09-15 "GNU" "Linux Programmer's Manual"
37 .SH Ì¾Á°
38 strsignal \- ¥·¥°¥Ê¥ë¤òÀâÌÀ¤¹¤ëʸ»úÎó¤òÊÖ¤¹
39 .SH ½ñ¼°
40 .nf
41 .B #include <string.h>
42 .sp
43 .BI "char *strsignal(int " sig );
44 .sp
45 .BI "extern const char * const " sys_siglist [];
46 .fi
47 .sp
48 .in -4n
49 .\"O Feature Test Macro Requirements for glibc (see
50 .\"O .BR feature_test_macros (7)):
51 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
52 .RB ( feature_test_macros (7)
53 »²¾È):
54 .in
55 .sp
56 .BR strsignal ():
57 .PD 0
58 .ad l
59 .RS 4
60 .TP 4
61 .\"O Since glibc 2.10:
62 glibc 2.10 °Ê¹ß:
63 _XOPEN_SOURCE\ >=\ 700 || _POSIX_C_SOURCE\ >=\ 200809L
64 .TP
65 .\"O Before glibc 2.10:
66 glibc 2.10 ¤è¤êÁ°:
67 _GNU_SOURCE
68 .RE
69 .ad
70 .PD
71 .\"O .SH DESCRIPTION
72 .SH ÀâÌÀ
73 .BR strsignal ()
74 ´Ø¿ô¤Ï¡¢°ú¿ô \fIsig\fP ¤ÇÅϤµ¤ì¤¿¥·¥°¥Ê¥ëÈÖ¹æ¤ò
75 ÀâÌÀ¤¹¤ëʸ»úÎó¤òÊÖ¤¹¡£
76 ʸ»úÎó¤Ï¡¢¼¡¤Î
77 .BR strsignal ()
78 ¤¬¸Æ¤Ð¤ì¤ë¤Þ¤Ç¤Î´Ö¤À¤±»ÈÍѤǤ­¤ë¡£
79 .PP
80 .\"O The array \fIsys_siglist\fP holds the signal description strings
81 .\"O indexed by signal number.
82 .\"O The
83 .\"O .BR strsignal ()
84 .\"O function should be
85 .\"O used if possible instead of this array.
86 ÇÛÎó \fIsys_siglist\fP ¤Ï¥·¥°¥Ê¥ë¤òÀâÌÀ¤¹¤ëʸ»úÎó¤òÊÝ»ý¤·¤Æ¤ª¤ê¡¢
87 ÇÛÎó¤Ø¤Î¥¢¥¯¥»¥¹¤Ë¤Ï¥·¥°¥Ê¥ëÈÖ¹æ¤òź¤¨»ú¤È¤·¤ÆÍѤ¤¤ë»ö¤¬¤Ç¤­¤ë¡£
88 ½ÐÍè¤ë¤À¤±¤³¤ÎÇÛÎó¤ÎÂå¤ï¤ê¤Ë
89 .BR strsignal ()
90 ´Ø¿ô¤ò
91 »È¤¦¤Ù¤­¤Ç¤¢¤ë¡£
92 .SH ÊÖ¤êÃÍ
93 .\"O The
94 .\"O .BR strsignal ()
95 .\"O function returns the appropriate description
96 .\"O string, or an unknown signal message if the signal number is invalid.
97 .\"O On some systems (but not on Linux), a NULL pointer may be
98 .\"O returned instead for an invalid signal number.
99 .BR strsignal ()
100 ´Ø¿ô¤Ï¡¢¥·¥°¥Ê¥ë¤ÎŬÀÚ¤ÊÀâÌÀ¤òÊÖ¤¹¡£
101 ¤â¤·¥·¥°¥Ê¥ëÈֹ椬ÉÔÀµ¤Ê¾ì¹ç¤Ï¡¢Ì¤ÃΤΥ·¥°¥Ê¥ë(unknown signal)¤ò¼¨¤¹
102 ¥á¥Ã¥»¡¼¥¸¤òÊÖ¤¹¡£
103 (Linux ¤Ï¤½¤¦¤Ç¤Ï¤Ê¤¤¤¬)ÉÔÀµ¤Ê¥·¥°¥Ê¥ëÈÖ¹æ¤ËÂФ·¤Æ¡¢ NULL ¥Ý¥¤¥ó¥¿¤ò
104 ÊÖ¤¹¥·¥¹¥Æ¥à¤â¤¢¤ë¡£
105 .\"O .SH "CONFORMING TO"
106 .SH ½àµò
107 POSIX.1-2008.
108 .\"O Present on Solaris and the BSDs.
109 Solaris ¤È BSD ·Ï¤Ë¤â¸ºß¤¹¤ë¡£
110 .SH ´ØÏ¢¹àÌÜ
111 .BR psignal (3),
112 .BR strerror (3)