Return values, Files – Compex Systems Advanced SerialRAID Adapters SA33-3285-02 User Manual

Page 283

Advertising
background image

TimeOutPeriod

Number of seconds after which the transaction is considered to have failed. A
value of 0 indicates no time limit.

Note: If an operation takes longer to complete than the specified time-out, the

adapter is reset to purge the command.

Attention:

This is a very low-level interface. It is for use only by configuration

methods and diagnostics software. Use of this interface might result in system hangs,
system crashes, system corruption, or undetected data loss.

Return Values

When completed successfully, this operation returns a value of 0. Otherwise, a value of
-1 is returned, and the errno global variable is set to one of the following values:

EIO

Indicates an unrecoverable I/O error.

ENXIO Indicates an unknown device.

EINVAL

Indicates an unknown command. Indicates a bad buffer type.

EACCESS

Indicates user does not have root privilege.

ENOMEM

Indicates not enough memory.

ENOSPC

Indicates not enough file blocks.

EFAULT

Indicates bad user address.

Files

/dev/ssa0, /dev/ssa1,..., /dev/ssan

Chapter 13. Using the Programming Interface

263

Advertising