Back to home page

OSCL-LXR

 
 

    


0001 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
0002 .. c:namespace:: DTV.fe
0003 
0004 .. _FE_DISEQC_RECV_SLAVE_REPLY:
0005 
0006 ********************************
0007 ioctl FE_DISEQC_RECV_SLAVE_REPLY
0008 ********************************
0009 
0010 Name
0011 ====
0012 
0013 FE_DISEQC_RECV_SLAVE_REPLY - Receives reply from a DiSEqC 2.0 command
0014 
0015 Synopsis
0016 ========
0017 
0018 .. c:macro:: FE_DISEQC_RECV_SLAVE_REPLY
0019 
0020 ``int ioctl(int fd, FE_DISEQC_RECV_SLAVE_REPLY, struct dvb_diseqc_slave_reply *argp)``
0021 
0022 Arguments
0023 =========
0024 
0025 ``fd``
0026     File descriptor returned by :c:func:`open()`.
0027 
0028 ``argp``
0029     pointer to struct :c:type:`dvb_diseqc_slave_reply`.
0030 
0031 Description
0032 ===========
0033 
0034 Receives reply from a DiSEqC 2.0 command.
0035 
0036 The received message is stored at the buffer pointed by ``argp``.
0037 
0038 Return Value
0039 ============
0040 
0041 On success 0 is returned.
0042 
0043 On error -1 is returned, and the ``errno`` variable is set
0044 appropriately.
0045 
0046 Generic error codes are described at the
0047 :ref:`Generic Error Codes <gen-errors>` chapter.