Back to home page

OSCL-LXR

 
 

    


0001 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
0002 .. c:namespace:: DTV.ca
0003 
0004 .. _CA_RESET:
0005 
0006 ========
0007 CA_RESET
0008 ========
0009 
0010 Name
0011 ----
0012 
0013 CA_RESET
0014 
0015 Synopsis
0016 --------
0017 
0018 .. c:macro:: CA_RESET
0019 
0020 ``int ioctl(fd, CA_RESET)``
0021 
0022 Arguments
0023 ---------
0024 
0025 ``fd``
0026   File descriptor returned by a previous call to :c:func:`open()`.
0027 
0028 Description
0029 -----------
0030 
0031 Puts the Conditional Access hardware on its initial state. It should
0032 be called before start using the CA hardware.
0033 
0034 Return Value
0035 ------------
0036 
0037 On success 0 is returned.
0038 
0039 On error -1 is returned, and the ``errno`` variable is set
0040 appropriately.
0041 
0042 Generic error codes are described at the
0043 :ref:`Generic Error Codes <gen-errors>` chapter.