1 .. -*- coding: utf-8; mode: rst -*-
18 .. c:function:: int ioctl(fd, CA_RESET)
26 File descriptor returned by a previous call to :c:func:`open() <cec-open>`.
31 Puts the Conditional Access hardware on its initial state. It should
32 be called before start using the CA hardware.
38 On success 0 is returned.
40 On error -1 is returned, and the ``errno`` variable is set
43 Generic error codes are described at the
44 :ref:`Generic Error Codes <gen-errors>` chapter.