1 .. SPDX-License-Identifier: GFDL-1.1-no-invari 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 .. c:namespace:: DTV.dmx 2 .. c:namespace:: DTV.dmx 3 3 4 .. _DMX_START: 4 .. _DMX_START: 5 5 6 ========= 6 ========= 7 DMX_START 7 DMX_START 8 ========= 8 ========= 9 9 10 Name 10 Name 11 ---- 11 ---- 12 12 13 DMX_START 13 DMX_START 14 14 15 Synopsis 15 Synopsis 16 -------- 16 -------- 17 17 18 .. c:macro:: DMX_START 18 .. c:macro:: DMX_START 19 19 20 ``int ioctl(int fd, DMX_START)`` 20 ``int ioctl(int fd, DMX_START)`` 21 21 22 Arguments 22 Arguments 23 --------- 23 --------- 24 24 25 ``fd`` 25 ``fd`` 26 File descriptor returned by :c:func:`open( 26 File descriptor returned by :c:func:`open()`. 27 27 28 Description 28 Description 29 ----------- 29 ----------- 30 30 31 This ioctl call is used to start the actual fi 31 This ioctl call is used to start the actual filtering operation defined 32 via the ioctl calls :ref:`DMX_SET_FILTER` or : 32 via the ioctl calls :ref:`DMX_SET_FILTER` or :ref:`DMX_SET_PES_FILTER`. 33 33 34 Return Value 34 Return Value 35 ------------ 35 ------------ 36 36 37 On success 0 is returned. 37 On success 0 is returned. 38 38 39 On error -1 is returned, and the ``errno`` var 39 On error -1 is returned, and the ``errno`` variable is set 40 appropriately. 40 appropriately. 41 41 42 .. tabularcolumns:: |p{2.5cm}|p{15.0cm}| 42 .. tabularcolumns:: |p{2.5cm}|p{15.0cm}| 43 43 44 .. flat-table:: 44 .. flat-table:: 45 :header-rows: 0 45 :header-rows: 0 46 :stub-columns: 0 46 :stub-columns: 0 47 47 48 - .. row 1 48 - .. row 1 49 49 50 - ``EINVAL`` 50 - ``EINVAL`` 51 51 52 - Invalid argument, i.e. no filtering 52 - Invalid argument, i.e. no filtering parameters provided via the 53 :ref:`DMX_SET_FILTER` or :ref:`DMX_S 53 :ref:`DMX_SET_FILTER` or :ref:`DMX_SET_PES_FILTER` ioctls. 54 54 55 - .. row 2 55 - .. row 2 56 56 57 - ``EBUSY`` 57 - ``EBUSY`` 58 58 59 - This error code indicates that there 59 - This error code indicates that there are conflicting requests. 60 There are active filters filtering d 60 There are active filters filtering data from another input source. 61 Make sure that these filters are sto 61 Make sure that these filters are stopped before starting this 62 filter. 62 filter. 63 63 64 The generic error codes are described at the 64 The generic error codes are described at the 65 :ref:`Generic Error Codes <gen-errors>` chapte 65 :ref:`Generic Error Codes <gen-errors>` chapter.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.