reboot man page on Minix

Man page or keyword search:  
man Server   6208 pages
apropos Keyword Search (all sections)
Output format
Minix logo
[printable version]

REBOOT(2)							     REBOOT(2)

NAME
       reboot - close down the system or reboot

SYNTAX
       #define _MINIX_SOURCE 1

       #include <unistd.h>

       int reboot(int how)

DESCRIPTION
       Reboot()	 is  used to close down the system.  It allows several ways of
       shutting down depending on how:

       reboot(RBT_DEFAULT)
	    Default shut-down action, the same as used	when  CTRL+ALT+DEL  is
	    pressed on the keyboard.

       reboot(RBT_HALT)
	    Halt the system.

       reboot(RBT_PANIC)
	    Cause  a  system panic.  This is not normally done from user mode,
	    but by servers using the sys_abort() kernel call.

       reboot(RBT_POWEROFF)
	    Power off the system if possible, reset otherwise.

       reboot(RBT_REBOOT)
	    Reboot the system with a software reset (currently not  supported,
	    so a hardware reset is used).

       reboot(RBT_RESET)
	    Reboot the system with a hardware reset.

       Reboot() may only be executed by the super-user.

DIAGNOSTICS
       If  the	call succeeds, it never returns.  If something went wrong, the
       return value is -1 and an error is indicated by errno.

SEE ALSO
       shutdown(8), reboot(8), halt(8), sync(2).

AUTHOR
       Edvard Tuinder (v892231@si.hhs.NL)

								     REBOOT(2)
[top]

List of man pages available for Minix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net