4.2.7. CA_GET_MSG Name

CA_GET_MSG Synopsis

int ioctl(fd, CA_GET_MSG, struct ca_msg *msg) Arguments

File descriptor returned by a previous call to open().
Pointer to struct ca_msg. Description

Receives a message via a CI CA module.


Please notice that, on most drivers, this is done by reading from the /dev/adapter?/ca? device node. 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.