Return Values - ADIC Server User Manual

Adic server user manual
Table of Contents

Advertisement

Return Values

/* Switch to the Dual AMU */
int rc;
char *Switch = "-n";
if ((rc = aci_switch(Switch)))
{
}
else
{
}
Figure 4-112
21 Dec 2001
0: The call was successful.
-1: The call failed.
The external variable d_errno is set to one of the following
DAS error codes:
ENOTAUTH
ERPC
EINVALID
EDASINT
ETIMEOUT
EAMUCOMM
EHICAPINUSE
ESWITCHINPROG
ENOTSUPPHCMD
See Figure 4-112 for an example of the aci_switch function.
aci_perror("Swicht actual not possible:");
printf("Now the Dual AMU is active.\n");
Example of the aci_switch Function
aci_switch
4-121

Advertisement

Table of Contents
loading

Table of Contents