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