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_SEND_MASTER_CMD:
0005 
0006 *******************************
0007 ioctl FE_DISEQC_SEND_MASTER_CMD
0008 *******************************
0009 
0010 Name
0011 ====
0012 
0013 FE_DISEQC_SEND_MASTER_CMD - Sends a DiSEqC command
0014 
0015 Synopsis
0016 ========
0017 
0018 .. c:macro:: FE_DISEQC_SEND_MASTER_CMD
0019 
0020 ``int ioctl(int fd, FE_DISEQC_SEND_MASTER_CMD, struct dvb_diseqc_master_cmd *argp)``
0021 
0022 Arguments
0023 =========
0024 
0025 ``fd``
0026     File descriptor returned by :c:func:`open()`.
0027 
0028 ``argp``
0029     pointer to struct
0030     :c:type:`dvb_diseqc_master_cmd`
0031 
0032 Description
0033 ===========
0034 
0035 Sends the DiSEqC command pointed by :c:type:`dvb_diseqc_master_cmd`
0036 to the antenna subsystem.
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.
0048