4.2.7. CA_GET_MSG¶
4.2.7.1. Name¶
CA_GET_MSG
4.2.7.3. Arguments¶
fd
- File descriptor returned by a previous call to
open()
. msg
- Pointer to struct
ca_msg
.
4.2.7.4. Description¶
Receives a message via a CI CA module.
Note
Please notice that, on most drivers, this is done by reading from the /dev/adapter?/ca? device node.
4.2.7.5. Return Value¶
On success 0 is returned.
On error -1 is returned, and the errno
variable is set
appropriately.
Generic error codes are described at the Generic Error Codes chapter.