Download Print this page

Hitachi HF-BT1000 User Manual page 89

Advertisement

6. LIBRARY FUNCTIONS
6.1.2 Shutdown function (BSSysShut)
<Name>
BSSysShut - System shutdown
<Syntax>
#include <hfbras.h>
int BSSysShut(reboot)
int reboot: /*Reboot flag*/
<Description>
BSSysShut shuts down the system.
The reboot argument is used for specifying whether to reboot the system after the shutdown.
reboot = 0: The power to this equipment is turned off after the shutdown.
reboot ≠ 0: The system reboots after the shutdown.
<Diagnosis>
0: Successful completion (System shutdown process has started)
1: Shutdown privilege acquisition error
2: Internal error (OS shutdown failed)
<Sample program>
We provide a sample program that uses this function in C. For information about the name of the
sample program and where you can find it, see "6.2 Sample Programs".
6-2

Advertisement

loading