ca-get-descr-info.rst 798 B

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