ADIC Server Server User Manual


 
Macros 5-17
21 Dec 2001
All the parameters must comply with the rules for aci_mount
function call.
The local variables int res must be defined before using this
macro.
Return Values
The d_errno and d_text globals are copied to d_errno and
d_text fields of shared memory array entry. The process is
terminated by the exit() call with the res exit code. If there are
problems with shared memory attachment, d_errno global
will be set to ENOSHARED.
aci_dismount
The aci_dismount function dismounts a volume. See
Figure 5-16.
Figure 5-16 aci_dismount Asynchronous ACI Call
All the parameters must comply with the rules for the
aci_dismount function call.
The local variable int res must be defined before using this
macro.
Return Value
The d_errno and d_text globals are copied to d_errno and
d_text fields of shared memory array entry. The process is
terminated by the exit call with the res exit code. If there are
problems with shared memory attachment, d_errno global
will be set to ENOSHARED.
aci_force
The aci_force function dismounts any cartridge from a specific
drive. Refer to Figure 5-17.
#include "aci_async.h"
ACI_DISMOUNT(volser, type)