fe-diseqc-recv-slave-reply.rst 928 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. .. -*- coding: utf-8; mode: rst -*-
  2. .. _FE_DISEQC_RECV_SLAVE_REPLY:
  3. ********************************
  4. ioctl FE_DISEQC_RECV_SLAVE_REPLY
  5. ********************************
  6. Name
  7. ====
  8. FE_DISEQC_RECV_SLAVE_REPLY - Receives reply from a DiSEqC 2.0 command
  9. Synopsis
  10. ========
  11. .. c:function:: int ioctl( int fd, FE_DISEQC_RECV_SLAVE_REPLY, struct dvb_diseqc_slave_reply *argp )
  12. :name: FE_DISEQC_RECV_SLAVE_REPLY
  13. Arguments
  14. =========
  15. ``fd``
  16. File descriptor returned by :ref:`open() <frontend_f_open>`.
  17. ``argp``
  18. pointer to struct :c:type:`dvb_diseqc_slave_reply`.
  19. Description
  20. ===========
  21. Receives reply from a DiSEqC 2.0 command.
  22. The received message is stored at the buffer pointed by ``argp``.
  23. Return Value
  24. ============
  25. On success 0 is returned.
  26. On error -1 is returned, and the ``errno`` variable is set
  27. appropriately.
  28. Generic error codes are described at the
  29. :ref:`Generic Error Codes <gen-errors>` chapter.