Aci_shutdown, Return values, Aci_shutdown -118 – ADIC Server User Manual

Page 160: Return values -118, Figure 4-108, Table 4-48, Para

Advertising
background image

4-118 DAS ACI Functions

601626-B

aci_shutdown

The aci_shutdown function shuts down the DAS software. See
Figure 4-108.

Figure 4-108

aci_shutdown Function Call

This function shuts down the DAS server. Once the request
has been accepted, no other request will be accepted. A restart
of the DAS server is necessary to resume DAS operations. See
Table 4-48.

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

ESWITCHINPROG

Refer to Figure 4-109 on page 4-119 for an example of the
aci_shutdown function.

Table 4-48

Parameter for the aci_shutdown Function Call

Parameter

Description

now

By default, DAS waits for outstanding requests to be
completed before termination. It however, the now parameter
or the now string is specified, the shut down is immediate.

#include "aci.h"

int aci_shutdown (char *now)

Advertising