2.4.7. ioctl FE_DISEQC_SEND_MASTER_CMD

2.4.7.1. Name

FE_DISEQC_SEND_MASTER_CMD - Sends a DiSEqC command

2.4.7.2. Synopsis

FE_DISEQC_SEND_MASTER_CMD

int ioctl(int fd, FE_DISEQC_SEND_MASTER_CMD, struct dvb_diseqc_master_cmd *argp)

2.4.7.3. Arguments

fd

File descriptor returned by open().

argp

pointer to struct dvb_diseqc_master_cmd

2.4.7.4. Description

Sends the DiSEqC command pointed by dvb_diseqc_master_cmd to the antenna subsystem.

2.4.7.5. Return Value

On success 0 is returned.

On error -1 is returned, and the errno variable is set appropriately.

Generic error codes are described at the Generic Error Codes chapter.