66 lines · plain
1.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later2.. c:namespace:: DTV.dmx3 4.. _DMX_START:5 6=========7DMX_START8=========9 10Name11----12 13DMX_START14 15Synopsis16--------17 18.. c:macro:: DMX_START19 20``int ioctl(int fd, DMX_START)``21 22Arguments23---------24 25``fd``26 File descriptor returned by :c:func:`open()`.27 28Description29-----------30 31This ioctl call is used to start the actual filtering operation defined32via the ioctl calls :ref:`DMX_SET_FILTER` or :ref:`DMX_SET_PES_FILTER`.33 34Return Value35------------36 37On success 0 is returned.38 39On error -1 is returned, and the ``errno`` variable is set40appropriately.41 42.. tabularcolumns:: |p{2.5cm}|p{15.0cm}|43 44.. flat-table::45 :header-rows: 046 :stub-columns: 047 48 - .. row 149 50 - ``EINVAL``51 52 - Invalid argument, i.e. no filtering parameters provided via the53 :ref:`DMX_SET_FILTER` or :ref:`DMX_SET_PES_FILTER` ioctls.54 55 - .. row 256 57 - ``EBUSY``58 59 - This error code indicates that there are conflicting requests.60 There are active filters filtering data from another input source.61 Make sure that these filters are stopped before starting this62 filter.63 64The generic error codes are described at the65:ref:`Generic Error Codes <gen-errors>` chapter.66