aci_init 4-73
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:
• ERPC
• EINVALID
• EDASINT
• EBADCLIENT
• EDASINT
• ETIMEOUT
• ESWITCHINPROG
See Figure 4-63 for an example of the aci_init function.
Figure 4-63 Example of the aci_init Function
/* Initialize client and free drive resources */
int rc = 0;
rc = aci_init( );
if( rc )
{
aci_perror( "ACI failed initialization:" );
}