Adic Server Instrukcja Użytkownika Strona 163

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 218
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 162
aci_switch 4-121
21 Dec 2001
Return Values
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.
Figure 4-112 Example of the aci_switch Function
/* Switch to the Dual AMU */
int rc;
char *Switch = "-n";
if ((rc = aci_switch(Switch)))
{
aci_perror("Swicht actual not possible:");
}
else
{
printf("Now the Dual AMU is active.\n");
}
Przeglądanie stron 162
1 2 ... 158 159 160 161 162 163 164 165 166 167 168 ... 217 218

Komentarze do niniejszej Instrukcji

Brak uwag