(BSD System Compatibility)
reboot system or halt processor
/usr/ucb/cc [flag . . . ] file . . .
reboot(int howto, [char *bootargs]);
reboots the system, and is invoked automatically
in the event of unrecoverable system failures.
is a mask of options passed to the bootstrap program.
The system call interface permits only
to be passed to the reboot program; the other flags
are used in scripts stored on the console storage media, or used
in manual bootstrap procedures.
When none of these options (for instance
is given, the system is rebooted
An automatic consistency check of the disks is then normally performed.
The bits of
that are used are:
the processor is simply halted; no reboot takes place.
should be used with caution.
Interpreted by the bootstrap program itself, causing it to
inquire as to what file should be booted.
Normally, the system is booted from the file
If successful, this call never returns.
Otherwise, a -1 is returned and an error is returned in the global variable
errno as follows:
The caller is not the super-user.
Any other howto argument causes /stand/unix to boot.
Only the super-user may reboot a machine.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004