Codes for all operations

The following codes and their descriptions apply to all operations.
[EACCES]
Data encryption access denied.
[EBADF]
A bad file descriptor was passed to the device.
[EBUSY]
An excessive busy state was encountered in the device.
[EFAULT]
A memory failure occurred due to an invalid pointer or address.
[EMEDIA]
An unrecoverable media error was detected in the device.
[ENOMEM]
Insufficient memory was available for an internal memory operation.
[ENOTREADY]
The device was not ready for operation, or a tape was not in the drive.
[ENXIO]
The device was not configured and is not receiving requests.
[EPERM]
The process does not have permission to complete the wanted function.
[ETIMEDOUT]
A command that is timed out in the device.
[ENOCONNECT]
The device did not respond to selection.
[ECONNREFUSED]
The device driver detected that the device vital product data (VPD) changed. The device must be unconfigured in AIX® and reconfigured to correct the condition.