Return values, Return values -83, Figure 4-74 – ADIC Server User Manual

Page 125

Advertising
background image

aci_killamu

4-83

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

See Figure 4-74 for an example of the aci_killamu function.

Figure 4-74

Example of the aci_killamu Function

/* Shutdown of the AMU */

int rc = 0;

rc = aci_killamu( );

if( rc )

{

aci_perror( "Shutdown of AMU PC failed:" );

}

Advertising