1.. -*- coding: utf-8; mode: rst -*-
2
3.. _CA_GET_DESCR_INFO:
4
5=================
6CA_GET_DESCR_INFO
7=================
8
9Name
10----
11
12CA_GET_DESCR_INFO
13
14
15Synopsis
16--------
17
18.. c:function:: int  ioctl(fd, CA_GET_DESCR_INFO, struct ca_descr_info *desc)
19    :name: CA_GET_DESCR_INFO
20
21Arguments
22---------
23
24``fd``
25  File descriptor returned by a previous call to :c:func:`open() <dvb-ca-open>`.
26
27``desc``
28  Pointer to struct :c:type:`ca_descr_info`.
29
30Description
31-----------
32
33Returns information about all descrambler slots.
34
35Return Value
36------------
37
38On success 0 is returned, and :c:type:`ca_descr_info` is filled.
39
40On error -1 is returned, and the ``errno`` variable is set
41appropriately. The generic error codes are described at the
42:ref:`Generic Error Codes <gen-errors>` chapter.
43