0001 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
0002 .. c:namespace:: DTV.dmx
0003
0004 .. _DMX_STOP:
0005
0006 ========
0007 DMX_STOP
0008 ========
0009
0010 Name
0011 ----
0012
0013 DMX_STOP
0014
0015 Synopsis
0016 --------
0017
0018 .. c:macro:: DMX_STOP
0019
0020 ``int ioctl(int fd, DMX_STOP)``
0021
0022 Arguments
0023 ---------
0024
0025 ``fd``
0026 File descriptor returned by :c:func:`open()`.
0027
0028 Description
0029 -----------
0030
0031 This ioctl call is used to stop the actual filtering operation defined
0032 via the ioctl calls :ref:`DMX_SET_FILTER` or :ref:`DMX_SET_PES_FILTER` and
0033 started via the :ref:`DMX_START` command.
0034
0035 Return Value
0036 ------------
0037
0038 On success 0 is returned.
0039
0040 On error -1 is returned, and the ``errno`` variable is set
0041 appropriately.
0042
0043 The generic error codes are described at the
0044 :ref:`Generic Error Codes <gen-errors>` chapter.