dmx-stop.rst 741 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
  2. .. c:namespace:: DTV.dmx
  3. .. _DMX_STOP:
  4. ========
  5. DMX_STOP
  6. ========
  7. Name
  8. ----
  9. DMX_STOP
  10. Synopsis
  11. --------
  12. .. c:macro:: DMX_STOP
  13. ``int ioctl(int fd, DMX_STOP)``
  14. Arguments
  15. ---------
  16. ``fd``
  17. File descriptor returned by :c:func:`open()`.
  18. Description
  19. -----------
  20. This ioctl call is used to stop the actual filtering operation defined
  21. via the ioctl calls :ref:`DMX_SET_FILTER` or :ref:`DMX_SET_PES_FILTER` and
  22. started via the :ref:`DMX_START` command.
  23. Return Value
  24. ------------
  25. On success 0 is returned.
  26. On error -1 is returned, and the ``errno`` variable is set
  27. appropriately.
  28. The generic error codes are described at the
  29. :ref:`Generic Error Codes <gen-errors>` chapter.