4.2.6. CA_GET_DESCR_INFO¶
4.2.6.1. Name¶
CA_GET_DESCR_INFO
4.2.6.2. Synopsis¶
-
int
ioctl
(fd, CA_GET_DESCR_INFO, struct ca_descr_info *desc)¶
4.2.6.3. Arguments¶
fd
- File descriptor returned by a previous call to
open()
. desc
- Pointer to struct
ca_descr_info
.
-
struct
ca_descr_info
¶
type | name | description |
---|---|---|
unsigned int | num | number of available descramblers (keys) |
unsigned int | type | type of supported scrambling system. Valid values are:
CA_ECD , CA_NDS and CA_DSS . |
4.2.6.4. Description¶
Note
This ioctl is undocumented. Documentation is welcome.
4.2.6.5. Return Value¶
On success 0 is returned, on error -1 and the errno
variable is set
appropriately. The generic error codes are described at the
Generic Error Codes chapter.