ADIC Server User Manual page 107

Adic server user manual
Table of Contents

Advertisement

/* Dismount any volume from drive */
int rc = 0;
rc = aci_force( "Drive1" );
if( rc )
{
}
else
{
}
Figure 4-53
21 Dec 2001
EBADCLIENT
ENOTMOUNTED
ECANCELED
EDASINT
ENOMATCH
ETIMEOUT
ESWITCHINPROG
EHICAPINUSE
ECOORDINATE
EBARCODE
EINVALIDDEV
ENOROBOT
EDATABASE
ENOTSUPPHCMD
EAREAEMPTY
EBARCODE
EAREAFULL
See Figure 4-53 for an example of the aci_force function.
aci_perror( "Command failed: " );
printf( "Dismount of Drive1 successful.\n" );
Example of the aci_force Function
aci_force
4-65

Advertisement

Table of Contents
loading

Table of Contents