dmx-fclose.rst 741 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. .. -*- coding: utf-8; mode: rst -*-
  2. .. _dmx_fclose:
  3. ========================
  4. Digital TV demux close()
  5. ========================
  6. Name
  7. ----
  8. Digital TV demux close()
  9. Synopsis
  10. --------
  11. .. c:function:: int close(int fd)
  12. :name: dvb-dmx-close
  13. Arguments
  14. ---------
  15. ``fd``
  16. File descriptor returned by a previous call to
  17. :c:func:`open() <dvb-dmx-open>`.
  18. Description
  19. -----------
  20. This system call deactivates and deallocates a filter that was
  21. previously allocated via the :c:func:`open() <dvb-dmx-open>` call.
  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.