dmx-stop.rst 1.1 KB
Newer Older
1 2 3 4 5 6 7 8 9
.. Permission is granted to copy, distribute and/or modify this
.. document under the terms of the GNU Free Documentation License,
.. Version 1.1 or any later version published by the Free Software
.. Foundation, with no Invariant Sections, no Front-Cover Texts
.. and no Back-Cover Texts. A copy of the license is included at
.. Documentation/media/uapi/fdl-appendix.rst.
..
.. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections

10 11
.. _DMX_STOP:

12
========
13 14 15
DMX_STOP
========

16
Name
17
----
18

19
DMX_STOP
20

21 22

Synopsis
23 24
--------

25 26
.. c:function:: int ioctl( int fd, DMX_STOP)
    :name: DMX_STOP
27 28


29
Arguments
30
---------
31

32 33
``fd``
    File descriptor returned by :c:func:`open() <dvb-dmx-open>`.
34

35
Description
36 37 38
-----------

This ioctl call is used to stop the actual filtering operation defined
39 40
via the ioctl calls :ref:`DMX_SET_FILTER` or :ref:`DMX_SET_PES_FILTER` and
started via the :ref:`DMX_START` command.
41 42


43
Return Value
44 45
------------

46 47 48 49 50 51
On success 0 is returned.

On error -1 is returned, and the ``errno`` variable is set
appropriately.

The generic error codes are described at the
52
:ref:`Generic Error Codes <gen-errors>` chapter.