OSDN Git Service

(split) Import translated manuals from JM CVS Repository.
[linuxjm/LDP_man-pages.git] / release / man2 / _exit.2
1 .\" Hey Emacs! This file is -*- nroff -*- source.
2 .\"
3 .\" This manpage is Copyright (C) 1992 Drew Eckhardt;
4 .\"                               1993 Michael Haardt, Ian Jackson.
5 .\"
6 .\" Permission is granted to make and distribute verbatim copies of this
7 .\" manual provided the copyright notice and this permission notice are
8 .\" preserved on all copies.
9 .\"
10 .\" Permission is granted to copy and distribute modified versions of this
11 .\" manual under the conditions for verbatim copying, provided that the
12 .\" entire resulting derived work is distributed under the terms of a
13 .\" permission notice identical to this one.
14 .\"
15 .\" Since the Linux kernel and libraries are constantly changing, this
16 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
17 .\" responsibility for errors or omissions, or for damages resulting from
18 .\" the use of the information contained herein.  The author(s) may not
19 .\" have taken the same level of care in the production of this manual,
20 .\" which is licensed free of charge, as they might when working
21 .\" professionally.
22 .\"
23 .\" Formatted or processed versions of this manual, if unaccompanied by
24 .\" the source, must acknowledge the copyright and authors of this work.
25 .\"
26 .\" Modified Wed Jul 21 23:02:38 1993 by Rik Faith <faith@cs.unc.edu>
27 .\" Modified 2001-11-17, aeb
28 .\"
29 .\" Japanese Version Copyright (c) 1997 KUNIMOTO Yasuhiro, all rights reserved.
30 .\" Translated Jun 27, 1997 by KUNIMOTO Yasuhiro (hiro@kthree.co.jp)
31 .\"
32 .\" Modified  Jun 28, 1997 by Yoshiki Sugiura (yox@in.aix.or.jp)
33 .\" Modified  Jul  6, 1997 by Yoshiki Sugiura (yox@in.aix.or.jp)
34 .\" Updated & Modified Sun Dec  9 20:02:10 JST 2001
35 .\"         by Yuichi SATO <ysato@h4.dion.ne.jp>
36 .\" Updated Sat Sep  3 04:26:00 JST 2005
37 .\"         by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
38 .\"
39 .\"WORD     descriptors ¥Ç¥£¥¹¥¯¥ê¥×¥¿
40 .\"
41 .TH _EXIT 2 2008-11-27 "Linux" "Linux Programmer's Manual"
42 .SH Ì¾Á°
43 _exit, _Exit \- ¸Æ¤Ó½Ð¤·¸µ¤Î¥×¥í¥»¥¹¤ò½ªÎ»¤µ¤»¤ë
44 .SH ½ñ¼°
45 .B #include <unistd.h>
46 .sp
47 .BI "void _exit(int " status );
48 .sp
49 .B #include <stdlib.h>
50 .sp
51 .BI "void _Exit(int " status );
52 .sp
53 .in -4n
54 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
55 .RB ( feature_test_macros (7)
56 »²¾È):
57 .in
58 .sp
59 .BR _Exit ():
60 _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; ¤Þ¤¿¤Ï
61 .I cc\ -std=c99
62 .SH ÀâÌÀ
63 .BR _exit ()
64 ¤Ï¡¢¤½¤ì¤ò¸Æ¤ó¤À¥×¥í¥»¥¹¤ò¡Öľ¤Á¤Ë¡×½ªÎ»¤µ¤»¤ë¡£
65 ¤½¤ÎºÝ¡¢¤³¤Î¥×¥í¥»¥¹¤¬½êÍ­¤·¤Æ¤¤¤ë¥Ç¥£¥¹¥¯¥ê¥×¥¿ (descriptor) ¤Ç¡¢
66 ¥ª¡¼¥×¥ó¤µ¤ì¤Æ¤¤¤ë¤â¤Î¤ÏÁ´¤Æ¥¯¥í¡¼¥º¤µ¤ì¤ë¡£
67 ¤Þ¤¿¡¢¤³¤Î¥×¥í¥»¥¹¤¬½êÍ­¤¹¤ë»Ò¥×¥í¥»¥¹¤ÏÁ´¤Æ¡¢¥×¥í¥»¥¹ÈÖ¹æ 1¡¢
68 ¤Ä¤Þ¤ê
69 .I init
70 ¥×¥í¥»¥¹¤Ë¤è¤Ã¤Æ·Ñ¾µ¤µ¤ì¡¢¤³¤Î¥×¥í¥»¥¹¤Î¿Æ¥×¥í¥»¥¹¤ËÂФ·¤Æ
71 .B SIGCHLD
72 ¥·¥°¥Ê¥ë¤¬Á÷½Ð¤µ¤ì¤ë¡£
73 .LP
74 .I status
75 ¤ÎÃͤϡ¢¤³¤Î¥×¥í¥»¥¹¤Î½ªÎ»¾õÂ֤Ȥ·¤Æ¤½¤Î¿Æ¥×¥í¥»¥¹¤ËÂФ·¤ÆÊÖ¤µ¤ì¡¢
76 .BR wait (2)
77 ·Ï´Ø¿ô¤òÍøÍѤ¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ¼èÆÀ¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
78 .LP
79 ´Ø¿ô
80 .BR _Exit ()
81 ¤Ï
82 .BR _exit ()
83 ¤ÈÅù²Á¤Ç¤¢¤ë¡£
84 .SH ÊÖ¤êÃÍ
85 ¤³¤ì¤é¤Î´Ø¿ô¤ÏÃͤòÊÖ¤µ¤Ê¤¤¡£
86 .SH ½àµò
87 SVr4, POSIX.1-2001, 4.3BSD.
88 ´Ø¿ô
89 .BR _Exit ()
90 ¤Ï C99 ¤ÇƳÆþ¤µ¤ì¤¿¡£
91 .SH Ãí°Õ
92 exit ¤ÎÌò³ä¡¦½ªÎ»¾õÂ֤μõÅϤ·¡¦
93 ¥¾¥ó¥Ó¥×¥í¥»¥¹¡¦¥·¥°¥Ê¥ëÁ÷½Ð¤Ê¤É¤Ë¤Ä¤¤¤Æ¤ÎµÄÏÀ¤Ï¡¢
94 .BR exit (3)
95 ¤ò»²¾È¤¹¤ë¤³¤È¡£
96 .LP
97 ´Ø¿ô
98 .BR _exit ()
99 ¤Ï
100 .BR exit (3)
101 ¤Ë»÷¤Æ¤¤¤ë¤¬¡¢ANSI C ¤Î
102 .BR atexit (3)
103 ¤ä
104 .BR on_exit (3)
105 ¤Ë¤è¤Ã¤ÆÅÐÏ¿¤µ¤ì¤¿¤¤¤«¤Ê¤ë´Ø¿ô¤â¸Æ¤Ó½Ð¤µ¤Ê¤¤¡£
106 ɸ½à I/O ¥Ð¥Ã¥Õ¥¡¤Î¥Õ¥é¥Ã¥·¥å¤ä¡¢
107 .BR tmpfile (3)
108 ¤ÇºîÀ®¤µ¤ì¤¿¥Æ¥ó¥Ý¥é¥ê¥Õ¥¡¥¤¥ë¤Îºï½ü¤ò¹Ô¤¦¤«¤É¤¦¤«¤Ï¡¢¼ÂÁõ¤Ë°Í¸¤¹¤ë¡£
109 °ìÊý¤Ç¡¢
110 .BR _exit ()
111 ¤Ï¥ª¡¼¥×¥ó¤µ¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤ò¥¯¥í¡¼¥º¤·¤Ê¤¤¤¿¤á¡¢
112 ̤·èÄê¤Ë¤Ê¤Ã¤Æ¤¤¤ë½ÐÎϤ¬¥Õ¥é¥Ã¥·¥å¤µ¤ì¤ë¤Î¤òÂԤĤΤËÉÔ³ÎÄê¤ÊÃ٤줬ȯÀ¸¤¹¤ë¡£
113 ¤³¤ÎÃÙ¤ì¤òȯÀ¸¤µ¤»¤¿¤¯¤Ê¤±¤ì¤Ð¡¢
114 .BR _exit ()
115 ¤ÎÁ°¤Ë
116 .BR tcflush (3)
117 ¤Î¤è¤¦¤Ê´Ø¿ô¤ò¸Æ¤Ó½Ð¤»¤Ð¤è¤¤¡£
118 .BR _exit ()
119 ¤¬¸Æ¤Ó½Ð¤µ¤ì¤¿¤È¤­¤Ë¡¢
120 ̤·èÄê¤Ë¤Ê¤Ã¤Æ¤¤¤ëÁ´¤Æ¤Î I/O ¤¬¥­¥ã¥ó¥»¥ë¤µ¤ì¤ë¤Î¤«¡¢
121 ¤Þ¤¿¤É¤Î I/O ¤¬¥­¥ã¥ó¥»¥ë¤µ¤ì¤ë¤Î¤«¤Ï¼ÂÁõ¤Ë°Í¸¤¹¤ë¡£
122
123 ¥Ð¡¼¥¸¥ç¥ó 2.3 ¤è¤êÁ°¤Î glibc ¤Ç¤Ï¡¢
124 .BR _exit ()
125 ¤Î¥é¥Ã¥Ñ¡¼´Ø¿ô¤ÏƱ¤¸Ì¾Á°¤Î¥«¡¼¥Í¥ë¡¦¥·¥¹¥Æ¥à¥³¡¼¥ë¤òµ¯Æ°¤·¤Æ¤¤¤¿¡£
126 glibc 2.3 °Ê¹ß¤Ç¤Ï¡¢¥×¥í¥»¥¹Æâ¤ÎÁ´¤Æ¤Î¥¹¥ì¥Ã¥É¤ò½ªÎ»¤¹¤ë¤¿¤á¤Ë¡¢
127 ¥é¥Ã¥Ñ¡¼´Ø¿ô¤Ï
128 .BR exit_group (2)
129 ¤òµ¯Æ°¤¹¤ë¡£
130 .SH ´ØÏ¢¹àÌÜ
131 .BR execve (2),
132 .BR exit_group (2),
133 .BR fork (2),
134 .BR kill (2),
135 .BR wait (2),
136 .BR wait4 (2),
137 .BR waitpid (2),
138 .BR atexit (3),
139 .BR exit (3),
140 .BR on_exit (3),
141 .BR termios (3)