Shutdown Function (Bssysshut) - Hitachi HF-W7500 40 Manual

Industrial computer, ras features
Table of Contents

Advertisement

6.1.2 Shutdown function (BSSysShut)

<Name>
BSSysShut - System shutdown
<Syntax>
#include <w2kras.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-3
6. LIBRARY FUNCTIONS

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents