4.2.4. CA_GET_CAP

4.2.4.1. Name

CA_GET_CAP

4.2.4.2. Synopsis

CA_GET_CAP

int ioctl(fd, CA_GET_CAP, struct ca_caps *caps)

4.2.4.3. Arguments

fd

File descriptor returned by a previous call to open().

caps

Pointer to struct ca_caps.

4.2.4.4. Description

Queries the Kernel for information about the available CA and descrambler slots, and their types.

4.2.4.5. Return Value

On success 0 is returned and ca_caps is filled.

On error, -1 is returned and the errno variable is set appropriately.

The generic error codes are described at the Generic Error Codes chapter.