Merge tag 'tegra-for-4.8-i2c' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra...
[cascardo/linux.git] / Documentation / media / uapi / dvb / dmx-get-caps.rst
1 .. -*- coding: utf-8; mode: rst -*-
2
3 .. _DMX_GET_CAPS:
4
5 ============
6 DMX_GET_CAPS
7 ============
8
9 Name
10 ----
11
12 DMX_GET_CAPS
13
14
15 Synopsis
16 --------
17
18 .. c:function:: int ioctl(fd, DMX_GET_CAPS, struct dmx_caps *caps)
19     :name: DMX_GET_CAPS
20
21 Arguments
22 ---------
23
24 ``fd``
25     File descriptor returned by :c:func:`open() <dvb-dmx-open>`.
26
27 ``caps``
28     Pointer to struct :c:type:`dmx_caps`
29
30
31 Description
32 -----------
33
34 .. note:: This ioctl is undocumented. Documentation is welcome.
35
36 Return Value
37 ------------
38
39 On success 0 is returned, on error -1 and the ``errno`` variable is set
40 appropriately. The generic error codes are described at the
41 :ref:`Generic Error Codes <gen-errors>` chapter.