xref: /linux/Documentation/userspace-api/media/dvb/dmx-stop.rst (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
1.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2.. c:namespace:: DTV.dmx
3
4.. _DMX_STOP:
5
6========
7DMX_STOP
8========
9
10Name
11----
12
13DMX_STOP
14
15Synopsis
16--------
17
18.. c:macro:: DMX_STOP
19
20``int ioctl(int fd, DMX_STOP)``
21
22Arguments
23---------
24
25``fd``
26    File descriptor returned by :c:func:`open()`.
27
28Description
29-----------
30
31This ioctl call is used to stop the actual filtering operation defined
32via the ioctl calls :ref:`DMX_SET_FILTER` or :ref:`DMX_SET_PES_FILTER` and
33started via the :ref:`DMX_START` command.
34
35Return Value
36------------
37
38On success 0 is returned.
39
40On error -1 is returned, and the ``errno`` variable is set
41appropriately.
42
43The generic error codes are described at the
44:ref:`Generic Error Codes <gen-errors>` chapter.
45