aci_initialize
#include "aci.h"
int aci_initialize( void )
Figure 4-64
/* Initialize client, do not change drive state */
int rc = 0;
rc = aci_initialize( );
if( rc )
{
}
Figure 4-65
4-74
DAS ACI Functions
The aci_initialize function initializes ACI library for client use.
See Figure 4-64.
aci_initialize Function Call
This function initializes the DAS 3.01 ACI library. This
function should be called as the first activity, before the use of
any other functions from the ACI library.
For additional information, refer to aci_init on page 4-72.
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
•
EDASINT
•
EDASINT
•
ESWITCHINPROG
See Figure 4-65 for an example of the aci_initialize function.
aci_perror( "ACI failed initialization:" );
Example of the aci_initialize Function
601626-B