1 .\" Hey Emacs! This file is -*- nroff -*- source.
3 .\" This manpage is Copyright (C) 1992 Drew Eckhardt;
4 .\" 1993 Michael Haardt, Ian Jackson.
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.
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
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
23 .\" Formatted or processed versions of this manual, if unaccompanied by
24 .\" the source, must acknowledge the copyright and authors of this work.
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)
30 .TH _EXIT 2 "4. Mai 1996" Linux "Systemaufrufe"
32 _exit \- beendet den aktuellen Prozess
34 .B #include <unistd.h>
36 .BI "void _exit(int " status );
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
47 wird als Exit-Wert an den Vaterprozess zurückgegeben und kann mit
48 einem der Funktionen der
50 Familie ermittelt werden.
55 SVID, AT&T, POSIX, X/OPEN, BSD 4.3
58 ruft keine Funktion auf, die mit der ANSI-C-Routine
60 registriert wurde, und leert auch nicht die üblichen I/O Puffer. Um
61 diese Dinge zu erledigen, sollte