
6. LIBRARY FUNCTIONS
6-2
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”.
Summary of Contents for HF-BT1000
Page 1: ...BT 63 0004 01 ...
Page 2: ...BT 63 0004 01 ...
Page 15: ...This Page Intentionally Left Blank ...
Page 79: ...This Page Intentionally Left Blank ...
Page 103: ...This Page Intentionally Left Blank ...
Page 111: ...This Page Intentionally Left Blank ...