ca-get-descr-info.rst 775 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. .. -*- coding: utf-8; mode: rst -*-
  2. .. _CA_GET_DESCR_INFO:
  3. =================
  4. CA_GET_DESCR_INFO
  5. =================
  6. Name
  7. ----
  8. CA_GET_DESCR_INFO
  9. Synopsis
  10. --------
  11. .. c:function:: int ioctl(fd, CA_GET_DESCR_INFO, struct ca_descr_info *desc)
  12. :name: CA_GET_DESCR_INFO
  13. Arguments
  14. ---------
  15. ``fd``
  16. File descriptor returned by a previous call to :c:func:`open() <dvb-ca-open>`.
  17. ``desc``
  18. Pointer to struct :c:type:`ca_descr_info`.
  19. Description
  20. -----------
  21. Returns information about all descrambler slots.
  22. Return Value
  23. ------------
  24. On success 0 is returned, and :c:type:`ca_descr_info` is filled.
  25. On error -1 is returned, and the ``errno`` variable is set
  26. appropriately. The generic error codes are described at the
  27. :ref:`Generic Error Codes <gen-errors>` chapter.