User Guide

Ampex 1308910-01 4-3
libacl API Functions libacl Overview
On failure, all functions automatically perform one retry. A failure return value indicates the
retry also failed. Since
errno is set only when a failure occurs on open, call aclGetStatus()
and check the value reported by the
acl_errcode member to determine the cause of the
failure.
•An acl_errcode value of 2 indicates the error occurred on open and no other informa-
tion is available other than the value that
errno is set to. Typical errno codes are shown
below. See your host system documentation for
errno values reported by your system.
EBUSY ACL is already in use.
EINVAL Invalid argument supplied.
ENODEV The ACL device is not properly connected to the host system.
ENXIO Device does not exist.
EPERM Access denied due to device special file permissions.
ETIME A timeout occurred on a SCSI command.
•An
acl_errcode value of 3 indicates the failure did not occur on open and additional
information is being reported by the other members in the
acl_Status_t structure. See
Table A-4 for descriptions and recommended recovery procedures.