1 .\" Copyright (c) 1992 Drew Eckhardt (drew@cs.colorado.edu), March 28, 1992
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.
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
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
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
23 .\" Modified by Michael Haardt (u31b3hs@pool.informatik.rwth-aachen.de)
25 .\" Tue Jul 6 22:36:09 MDT 1993 (dminer@nyx.cs.du.edu)
26 .\" Made this clearer...
27 .\" Modified Sat Jul 24 00:16:05 1993 by Rik Faith (faith@cs.unc.edu)
29 .\" Translated into German by Wolfgang Jung (woju@keep.in-berlin.de) on
30 .\" Fri Apr 5 15:39:52 MET DST 1996
31 .\" Modified Mon Jun 10 13:31:45 1996 by Martin Schulze (joey@linux.de)
33 .TH REBOOT 2 "28. März 28, 1992" "Linux 0.99.10" "Systemaufrufe"
35 reboot \- Neustart, oder Deaktivieren von Cntrl-Alt-Entf (Ctrl-Alt-Del)
37 .B #include <unistd.h>
39 .BI "int reboot (int " magic ", int " magic_too ", int " flag );
42 startet das System neu, oder deaktiviert CAD.
48 == 672274793, dann wird die Funktion unter Beachtung von
54 = 0x1234567 ist, dann wird ein ein Reset
60 = 0x89abcdef ist, dann wird CAD aktiviert.
64 = 0 ist, dann wird CAD deaktiviert und ein
66 Signal an den Prozess mit der PID 1 (in der Regel der
68 INIT Prozess) geschickt.
70 Es gilt zu beachten, dass
76 Nur dem Super-User ist es gestattet, diese Funktion aufzurufen.
78 Bei erfolgreichem Bearbeiten der Funktion wird eine 0 zurückgeliefert.
79 Im Fehlerfall wird \-1 zurückgeliefert und es wird .I errno passend gesetzt.
84 .IR magic " number für " magic ", " magic_too " oder/und " flag .
87 Nicht der Super-User hat den Zugriff gemacht.