OSDN Git Service

(split) Apply modifications in previous commit to release pages.
[linuxjm/LDP_man-pages.git] / release / man3 / raise.3
1 .\" Copyright (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de)
2 .\" and Copyright (C) 2008 Michael Kerrisk <mtk.manpages@gmail.com>
3 .\"
4 .\" Permission is granted to make and distribute verbatim copies of this
5 .\" manual provided the copyright notice and this permission notice are
6 .\" preserved on all copies.
7 .\"
8 .\" Permission is granted to copy and distribute modified versions of this
9 .\" manual under the conditions for verbatim copying, provided that the
10 .\" entire resulting derived work is distributed under the terms of a
11 .\" permission notice identical to this one.
12 .\"
13 .\" Since the Linux kernel and libraries are constantly changing, this
14 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
15 .\" responsibility for errors or omissions, or for damages resulting from
16 .\" the use of the information contained herein.  The author(s) may not
17 .\" have taken the same level of care in the production of this manual,
18 .\" which is licensed free of charge, as they might when working
19 .\" professionally.
20 .\"
21 .\" Formatted or processed versions of this manual, if unaccompanied by
22 .\" the source, must acknowledge the copyright and authors of this work.
23 .\" License.
24 .\" Modified Sat Jul 24 18:40:56 1993 by Rik Faith (faith@cs.unc.edu)
25 .\" Modified 1995 by Mike Battersby (mib@deakin.edu.au)
26 .\"
27 .\" Japanese Version Copyright (c) 1997 HIROFUMI Nishizuka
28 .\"     all rights reserved.
29 .\" Translated 1997-12-25, HIROFUMI Nishizuka <nishi@rpts.cl.nec.co.jp>
30 .\" Updated 2008-08-08, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v3.05
31 .\"
32 .TH RAISE 3 2008-10-17 "GNU" "Linux Programmer's Manual"
33 .SH Ì¾Á°
34 raise \- ¸Æ¤Ó½Ð¤·¸µ¤Ë¥·¥°¥Ê¥ë¤òÁ÷¤ë
35 .SH ½ñ¼°
36 .nf
37 .B #include <signal.h>
38 .sp
39 .BI "int raise(int " sig );
40 .fi
41 .SH ÀâÌÀ
42 .BR raise ()
43 ´Ø¿ô¤Ï¡¢¸Æ¤Ó½Ð¤·¸µ¤Î¥×¥í¥»¥¹¤â¤·¤¯¤Ï¥¹¥ì¥Ã¥É¤Ë¥·¥°¥Ê¥ë¤òÁ÷¤ë¡£
44 ¥·¥ó¥°¥ë¥¹¥ì¥Ã¥É¤Î¥×¥í¥°¥é¥à¤Ç¤Ï¡¢°Ê²¼¤ÈÅù²Á¤Ç¤¢¤ë¡£
45 .sp
46 .in +4n
47 .nf
48 kill(getpid(), sig);
49 .fi
50 .in
51 .PP
52 ¥Þ¥ë¥Á¥¹¥ì¥Ã¥É¤Î¥×¥í¥°¥é¥à¤Ç¤Ï¡¢°Ê²¼¤ÈÅù²Á¤Ç¤¢¤ë¡£
53 .sp
54 .in +4n
55 .nf
56 pthread_kill(pthread_self(), sig);
57 .fi
58 .in
59 .PP
60 ¥·¥°¥Ê¥ë¤Ëµ¯°ø¤·¤Æ¥·¥°¥Ê¥ë¡¦¥Ï¥ó¥É¥é¤¬¸Æ¤Ó½Ð¤µ¤ì¤ë¾ì¹ç¤Ë¤Ï¡¢
61 .BR raise ()
62 ¤¬ÊÖ¤ë¤Î¤Ïɬ¤º¥·¥°¥Ê¥ë¡¦¥Ï¥ó¥É¥é¤¬Ê֤俸å¤Ë¤Ê¤ë¡£
63 .SH ÊÖ¤êÃÍ
64 À®¸ù¤·¤¿¾ì¹ç¤Ï 0 ¤ò¡¢¼ºÇÔ¤·¤¿¾ì¹ç¤Ï 0 °Ê³°¤ÎÃͤòÊÖ¤¹¡£
65 .SH ½àµò
66 C89, C99, POSIX.1-2001.
67 .SH ´ØÏ¢¹àÌÜ
68 .BR getpid (2),
69 .BR kill (2),
70 .BR sigaction (2),
71 .BR signal (2),
72 .BR pthread_kill (3),
73 .BR signal (7)