1 .. -*- coding: utf-8; mode: rst -*-
18 .. c:function:: int ioctl(fd, CA_GET_DESCR_INFO, struct ca_descr_info *desc)
19 :name: CA_GET_DESCR_INFO
25 File descriptor returned by a previous call to :c:func:`open() <dvb-ca-open>`.
28 Pointer to struct :c:type:`ca_descr_info`.
33 Returns information about all descrambler slots.
38 On success 0 is returned, and :c:type:`ca_descr_info` is filled.
40 On error -1 is returned, and the ``errno`` variable is set
41 appropriately. The generic error codes are described at the
42 :ref:`Generic Error Codes <gen-errors>` chapter.