int ioctl(fd, CA_SET_DESCR, struct ca_descr *desc)
CA_SET_DESCR is used for feeding descrambler CA slots with descrambling keys (referred as control words).
188.8.131.52. Return Value¶
On success 0 is returned.
On error -1 is returned, and the
errno variable is set
Generic error codes are described at the Generic Error Codes chapter.