dmx-stop.rst 720 B

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