1 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
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.
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.
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
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
23 .\" References consulted:
24 .\" Linux libc source code
25 .\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
27 .\" Modified Sat Jul 24 17:59:03 1993 by Rik Faith (faith@cs.unc.edu)
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>
36 .TH STRSIGNAL 3 2010-09-15 "GNU" "Linux Programmer's Manual"
38 strsignal \- ¥·¥°¥Ê¥ë¤òÀâÌÀ¤¹¤ëʸ»úÎó¤òÊÖ¤¹
41 .B #include <string.h>
43 .BI "char *strsignal(int " sig );
45 .BI "extern const char * const " sys_siglist [];
49 .\"O Feature Test Macro Requirements for glibc (see
50 .\"O .BR feature_test_macros (7)):
51 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
52 .RB ( feature_test_macros (7)
61 .\"O Since glibc 2.10:
63 _XOPEN_SOURCE\ >=\ 700 || _POSIX_C_SOURCE\ >=\ 200809L
65 .\"O Before glibc 2.10:
74 ´Ø¿ô¤Ï¡¢°ú¿ô \fIsig\fP ¤ÇÅϤµ¤ì¤¿¥·¥°¥Ê¥ëÈÖ¹æ¤ò
75 ÀâÌÀ¤¹¤ëʸ»úÎó¤òÊÖ¤¹¡£
78 ¤¬¸Æ¤Ð¤ì¤ë¤Þ¤Ç¤Î´Ö¤À¤±»ÈÍѤǤ¤ë¡£
80 .\"O The array \fIsys_siglist\fP holds the signal description strings
81 .\"O indexed by signal number.
84 .\"O function should be
85 .\"O used if possible instead of this array.
86 ÇÛÎó \fIsys_siglist\fP ¤Ï¥·¥°¥Ê¥ë¤òÀâÌÀ¤¹¤ëʸ»úÎó¤òÊÝ»ý¤·¤Æ¤ª¤ê¡¢
87 ÇÛÎó¤Ø¤Î¥¢¥¯¥»¥¹¤Ë¤Ï¥·¥°¥Ê¥ëÈÖ¹æ¤òź¤¨»ú¤È¤·¤ÆÍѤ¤¤ë»ö¤¬¤Ç¤¤ë¡£
88 ½ÐÍè¤ë¤À¤±¤³¤ÎÇÛÎó¤ÎÂå¤ï¤ê¤Ë
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.
100 ´Ø¿ô¤Ï¡¢¥·¥°¥Ê¥ë¤ÎŬÀÚ¤ÊÀâÌÀ¤òÊÖ¤¹¡£
101 ¤â¤·¥·¥°¥Ê¥ëÈֹ椬ÉÔÀµ¤Ê¾ì¹ç¤Ï¡¢Ì¤ÃΤΥ·¥°¥Ê¥ë(unknown signal)¤ò¼¨¤¹
103 (Linux ¤Ï¤½¤¦¤Ç¤Ï¤Ê¤¤¤¬)ÉÔÀµ¤Ê¥·¥°¥Ê¥ëÈÖ¹æ¤ËÂФ·¤Æ¡¢ NULL ¥Ý¥¤¥ó¥¿¤ò
105 .\"O .SH "CONFORMING TO"
108 .\"O Present on Solaris and the BSDs.
109 Solaris ¤È BSD ·Ï¤Ë¤â¸ºß¤¹¤ë¡£