Merge remote-tracking branch 'battery/for-next'
[deliverable/linux.git] / Documentation / media / uapi / dvb / dmx-start.rst
CommitLineData
47d23e36
MCC
1.. -*- coding: utf-8; mode: rst -*-
2
3.. _DMX_START:
4
586027ce 5=========
47d23e36
MCC
6DMX_START
7=========
8
15e7d615 9Name
586027ce 10----
47d23e36 11
586027ce 12DMX_START
47d23e36 13
15e7d615
MCC
14
15Synopsis
47d23e36
MCC
16--------
17
cf8076c3
MCC
18.. c:function:: int ioctl( int fd, DMX_START)
19 :name: DMX_START
47d23e36 20
47d23e36 21
15e7d615 22Arguments
586027ce 23---------
47d23e36 24
cf8076c3
MCC
25``fd``
26 File descriptor returned by :c:func:`open() <dvb-dmx-open>`.
47d23e36 27
15e7d615 28Description
586027ce
MCC
29-----------
30
31This ioctl call is used to start the actual filtering operation defined
32via the ioctl calls DMX_SET_FILTER or DMX_SET_PES_FILTER.
33
34
15e7d615 35Return Value
47d23e36
MCC
36------------
37
38On success 0 is returned, on error -1 and the ``errno`` variable is set
39appropriately. The generic error codes are described at the
40:ref:`Generic Error Codes <gen-errors>` chapter.
41
16dac354 42.. tabularcolumns:: |p{2.5cm}|p{15.0cm}|
47d23e36
MCC
43
44.. flat-table::
45 :header-rows: 0
46 :stub-columns: 0
47
48
49 - .. row 1
50
51 - ``EINVAL``
52
53 - Invalid argument, i.e. no filtering parameters provided via the
54 DMX_SET_FILTER or DMX_SET_PES_FILTER functions.
55
56 - .. row 2
57
58 - ``EBUSY``
59
60 - This error code indicates that there are conflicting requests.
61 There are active filters filtering data from another input source.
62 Make sure that these filters are stopped before starting this
63 filter.
This page took 0.043599 seconds and 5 git commands to generate.