int ioctl(fd, CA_GET_CAP, struct ca_caps *caps)
Queries the Kernel for information about the available CA and descrambler slots, and their types.
126.96.36.199. Return Value¶
On success 0 is returned and
ca_caps is filled.
On error, -1 is returned and the
errno variable is set
The generic error codes are described at the Generic Error Codes chapter.