Figure 4-53 – ADIC Server User Manual

Page 107

Advertising
background image

aci_force

4-65

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.

Figure 4-53

Example of the aci_force Function

/* Dismount any volume from drive */

int rc = 0;

rc = aci_force( "Drive1" );

if( rc )

{

aci_perror( "Command failed: " );

}

else

{

printf( "Dismount of Drive1 successful.\n" );

}

Advertising