4.2.9. CA_SET_DESCR

4.2.9.1. Name

CA_SET_DESCR

4.2.9.2. Synopsis

int ioctl(fd, CA_SET_DESCR, struct ca_descr *desc)

4.2.9.3. Arguments

fd

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

msg

Pointer to struct ca_descr.

4.2.9.4. Description

CA_SET_DESCR is used for feeding descrambler CA slots with descrambling keys (referred as control words).

4.2.9.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.