ca-reset.rst 676 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
  2. .. c:namespace:: DTV.ca
  3. .. _CA_RESET:
  4. ========
  5. CA_RESET
  6. ========
  7. Name
  8. ----
  9. CA_RESET
  10. Synopsis
  11. --------
  12. .. c:macro:: CA_RESET
  13. ``int ioctl(fd, CA_RESET)``
  14. Arguments
  15. ---------
  16. ``fd``
  17. File descriptor returned by a previous call to :c:func:`open()`.
  18. Description
  19. -----------
  20. Puts the Conditional Access hardware on its initial state. It should
  21. be called before start using the CA hardware.
  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. Generic error codes are described at the
  28. :ref:`Generic Error Codes <gen-errors>` chapter.