*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: reboot | Section: 2 | Source: Digital UNIX | File: reboot.2.gz
reboot(2) System Calls Manual reboot(2) NAME reboot - Reboots system or halts processor SYNOPSIS #include <sys/reboot.h> void reboot( int howto ); PARAMETERS Specifies a mask of options. DESCRIPTION The reboot() function restarts the system. The startup is automatic and brings up /vmunix in the normal, nonmaintenance mode. The calling process must have superuser privilege to run this function success- fully. However, a reboot is invoked automatically in the event of un- recoverable system failures. The following options, defined in the sys/reboot.h include file are passed to the new kernel or the new bootstrap and init programs. They are supplied as values to the howto parameter. The default, causing the system to reboot in its usual fashion. Dump kernel memory before rebooting; see the savecore command for more information. The proces- sor is simply halted; no reboot takes place. The disks are not sync'd before the processor is halted or rebooted. Normally, the disks are sync'd (see the sync() command) before the processor is halted or re- booted. Because the disks are not sync'd with the RB_NOSYNC option, loss of data may result from using it. When no options are given (that is, RB_AUTOBOOT is used), the system is rebooted from file vmunix in the root file system of unit 0 (zero) of a disk chosen in a processor-specific way. (see the fsck command). RETURN VALUES If successful, this call does not return. Otherwise, a -1 is returned and errno is set to indicate the error. ERRORS If the reboot() function fails, errno may be set to the following value: The calling process does not have appropriate privilege. RELATED INFORMATION Commands: crashdc(8), halt(8), init(8), reboot(8), savecore(8) delim off reboot(2)

Navigation Options