SysShutdown
From WhitixDoc
< System calls | Calls
SysShutdown shuts down or reboots the system, after synchronising the filesystem.
Contents |
Syntax
int SysShutdown( int type )
Parameters
- type. Type of system shutdown. This parameter is currently ignored by the kernel, as the only shutdown possible is a reboot.
Returns
0, if the function does return.
Example
This example reboots the computer:
SysShutdown(0);