Merge tag 'v4.14-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux...
[sfrench/cifs-2.6.git] / Documentation / media / uapi / dvb / ca-get-descr-info.rst
1 .. -*- coding: utf-8; mode: rst -*-
2
3 .. _CA_GET_DESCR_INFO:
4
5 =================
6 CA_GET_DESCR_INFO
7 =================
8
9 Name
10 ----
11
12 CA_GET_DESCR_INFO
13
14
15 Synopsis
16 --------
17
18 .. c:function:: int  ioctl(fd, CA_GET_DESCR_INFO, struct ca_descr_info *desc)
19     :name: CA_GET_DESCR_INFO
20
21 Arguments
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
30 Description
31 -----------
32
33 Returns information about all descrambler slots.
34
35 Return Value
36 ------------
37
38 On success 0 is returned, and :c:type:`ca_descr_info` is filled.
39
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.