Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / Documentation / media / uapi / dvb / fe-diseqc-send-master-cmd.rst
blob6bd3994edfc2c010db18294ef16e1b1d87b7bdf5
1 .. -*- coding: utf-8; mode: rst -*-
3 .. _FE_DISEQC_SEND_MASTER_CMD:
5 *******************************
6 ioctl FE_DISEQC_SEND_MASTER_CMD
7 *******************************
9 Name
10 ====
12 FE_DISEQC_SEND_MASTER_CMD - Sends a DiSEqC command
15 Synopsis
16 ========
18 .. c:function:: int ioctl( int fd, FE_DISEQC_SEND_MASTER_CMD, struct dvb_diseqc_master_cmd *argp )
19     :name: FE_DISEQC_SEND_MASTER_CMD
22 Arguments
23 =========
25 ``fd``
26     File descriptor returned by :ref:`open() <frontend_f_open>`.
28 ``argp``
29     pointer to struct
30     :c:type:`dvb_diseqc_master_cmd`
33 Description
34 ===========
36 Sends the DiSEqC command pointed by :c:type:`dvb_diseqc_master_cmd`
37 to the antenna subsystem.
39 Return Value
40 ============
42 On success 0 is returned.
44 On error -1 is returned, and the ``errno`` variable is set
45 appropriately.
47 Generic error codes are described at the
48 :ref:`Generic Error Codes <gen-errors>` chapter.