Imported tab->space correction by redhat
[infodrom/manpages-de] / 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 .\" Translated into german by Martin Schulze (joey@infodrom.north.de)
28 .\" Modified Mon Jun 10 00:55:48 1996 by Martin Schulze (joey@linux.de)
29 .\"
30 .TH _EXIT 2 "4. Mai 1996" Linux "Systemaufrufe"
31 .SH BEZEICHNUNG
32 _exit \- beendet den aktuellen Prozess
33 .SH BEZEICHNUNG
34 .B #include <unistd.h>
35 .sp
36 .BI "void _exit(int " status );
37 .SH BESCHREIBUNG
38 .B _exit
39 beendet den aufrufenden Prozess sofort.  Zum Prozess gehörende
40 Datei-Deskriptoren werden geschlossen und Tochterprozesse werden dem
41 Prozess 1, init, vererbt bzw. zugeteilt.  Dem Vaterprozess wird
42 anschließend ein 
43 .BR SIGCHLD \-Signal
44 geschickt.
45
46 .I status
47 wird als Exit-Wert an den Vaterprozess zurückgegeben und kann mit
48 einem der Funktionen der
49 .B wait
50 Familie ermittelt werden.
51 .SH "RÜCKGABEWERT"
52 .B _exit
53 kehrt niemals zurück.
54 .SH "KONFORM ZU"
55 SVID, AT&T, POSIX, X/OPEN, BSD 4.3
56 .SH ANMERKUNGEN
57 .B _exit
58 ruft keine Funktion auf, die mit der ANSI-C-Routine
59 .B atexit
60 registriert wurde, und leert auch nicht die üblichen I/O Puffer. Um
61 diese Dinge zu erledigen, sollte
62 .BR exit (3)
63 verwendet werden.
64 .SH "SIEHE AUCH"
65 .BR fork (2), 
66 .BR execve (2),
67 .BR waitpid (2),
68 .BR wait4 (2),
69 .BR kill (2),
70 .BR wait (3),
71 .BR exit (3).