OSDN Git Service

(split) Fixed #25191 (typo in fenv.3).
[linuxjm/LDP_man-pages.git] / release / man3 / sysv_signal.3
1 .\" Copyright (c) 2007 Michael Kerrisk <mtk.manpages@gmail.com>
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 .\" Japanese Version Copyright (c) 2007  Akihiro MOTOKI
24 .\"         all rights reserved.
25 .\" Translated 2007-06-02, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
26 .\" 
27 .\"WORD:        reliable        ¿®ÍêÀ­¤Î¤¢¤ë
28 .\"WORD:        unreliable      ¿®ÍêÀ­¤Ë·ç¤±¤ë
29 .\"WORD:        signal semantics        ¥·¥°¥Ê¥ë½èÍýÊý¼°
30 .\" 
31 .TH SYSV_SIGNAL 3 2007-05-04 "" "Linux Programmer's Manual"
32 .SH Ì¾Á°
33 sysv_signal \- System V Êý¼°¤Î¥·¥°¥Ê¥ë½èÍý
34 .SH ½ñ¼°
35 .BR "#define _GNU_SOURCE" "         /* feature_test_macros(7) »²¾È */"
36 .br
37 .B #include <signal.h>
38 .sp
39 .B typedef void (*sighandler_t)(int);
40 .sp
41 .BI "sighandler_t sysv_signal(int " signum ", sighandler_t " handler );
42 .SH ÀâÌÀ
43 .BR sysv_signal ()
44 ´Ø¿ô¤Ï
45 .BR signal (2)
46 ¤ÈƱ¤¸°ú¤­¿ô¤ò¤È¤ê¡¢Æ±¤¸½èÍý¤ò¼Â¹Ô¤¹¤ë¡£
47
48 ¤·¤«¤·¤Ê¤¬¤é¡¢
49 .BR sysv_signal ()
50 ¤Ï System V ¤Î¿®ÍêÀ­¤Ë·ç¤±¤ë¥·¥°¥Ê¥ë½èÍýÊý¼°¤òÄ󶡤·¤Æ¤¤¤ë¡£
51 ¿®ÍêÀ­¤Ë·ç¤±¤ë¥·¥°¥Ê¥ë½èÍýÊý¼°¤Ï°Ê²¼¤ÎÆÃħ¤ò»ý¤Ä¡£
52 a) ¥Ï¥ó¥É¥é¤¬µ¯Æ°¤µ¤ì¤ë¤È¡¢¥·¥°¥Ê¥ë¤Î½èÍýÊýË¡ (disposition) ¤¬
53 ¥Ç¥Õ¥©¥ë¥È¤Ë¥ê¥»¥Ã¥È¤µ¤ì¤ë¡¢
54 b) ¥·¥°¥Ê¥ë¥Ï¥ó¥É¥é¤Î¼Â¹ÔÃæ¤Ï¡¢¤½¤ì°Ê¹ß¤ËȯÀ¸¤·¤¿Æ±¤¸¥·¥°¥Ê¥ë¤ÎÇÛÁ÷¤¬
55 ¥Ö¥í¥Ã¥¯¤µ¤ì¤Ê¤¤¡¢
56 c) ¥Ï¥ó¥É¥é¤¬Ää»ßÃæ¤Î (blocking ¤·¤Æ¤¤¤ë) ¥·¥¹¥Æ¥à¥³¡¼¥ë¤òÃæÃǤ·¤¿¾ì¹ç¡¢
57 ¼«Æ°Åª¤ËºÆ³«¤µ¤ì¤Ê¤¤¥·¥¹¥Æ¥à¥³¡¼¥ë¤¬¤¢¤ë¡£
58 .SH ÊÖ¤êÃÍ
59 .BR sysv_signal ()
60 ´Ø¿ô¤Ï¥·¥°¥Ê¥ë¥Ï¥ó¥É¥é¤ÎľÁ°¤ÎÃͤòÊÖ¤¹¡£
61 ¥¨¥é¡¼¤Î¾ì¹ç¡¢
62 .B SIG_ERR
63 ¤òÊÖ¤¹¡£
64 .SH ¥¨¥é¡¼
65 .BR signal (2)
66 ¤ÈƱ¤¸¡£
67 .SH ½àµò
68 ¤³¤Î´Ø¿ô¤ÏÈóɸ½à¤Ç¤¢¤ë¡£
69 .SH Ãí°Õ
70 .BR sysv_signal ()
71 ¤Î»ÈÍѤÏÈò¤±¤ë¤Ù¤­¤Ç¤¢¤ë¡£Âå¤ï¤ê¤Ë
72 .BR sigaction (2)
73 ¤ò»È¤¦¤³¤È¡£
74
75 °ÊÁ°¤Î Linux ¥·¥¹¥Æ¥à¤Ç¤Ï¡¢
76 .BR sysv_signal ()
77 ¤È
78 .BR signal (2)
79 ¤ÏÅù²Á¤Ç¤¢¤Ã¤¿¡£¤·¤«¤·¡¢¿·¤·¤á¤Î¥·¥¹¥Æ¥à¤Ç¤Ï¡¢
80 .BR signal (2)
81 ¤Ï¿®ÍêÀ­¤Î¤¢¤ë¥·¥°¥Ê¥ë½èÍýÊý¼°¤òÄ󶡤·¤Æ¤¤¤ë¡£
82 ¾ÜºÙ¤Ï
83 .BR signal (2)
84 ¤ò»²¾È¡£
85
86 .I sighandler_t
87 ¤ò»È¤Ã¤Æ¤¤¤ë¤Î¤Ï GNU ¤Ë¤è¤ë³ÈÄ¥¤Ç¤¢¤ë¡£
88 ¤³¤Î·¿¤Ïµ¡Ç½¸¡ºº¥Þ¥¯¥í
89 .B _GNU_SOURCE
90 ¤òÄêµÁ¤·¤¿¾ì¹ç¤Ë¤Î¤ßÄêµÁ¤µ¤ì¤ë¡£
91 .SH ´ØÏ¢¹àÌÜ
92 .BR sigaction (2),
93 .BR signal (2),
94 .BR bsd_signal (3),
95 .BR signal (7)