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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
  2. .. c:namespace:: DTV.fe
  3. .. _FE_DISEQC_RECV_SLAVE_REPLY:
  4. ********************************
  5. ioctl FE_DISEQC_RECV_SLAVE_REPLY
  6. ********************************
  7. Name
  8. ====
  9. FE_DISEQC_RECV_SLAVE_REPLY - Receives reply from a DiSEqC 2.0 command
  10. Synopsis
  11. ========
  12. .. c:macro:: FE_DISEQC_RECV_SLAVE_REPLY
  13. ``int ioctl(int fd, FE_DISEQC_RECV_SLAVE_REPLY, struct dvb_diseqc_slave_reply *argp)``
  14. Arguments
  15. =========
  16. ``fd``
  17. File descriptor returned by :c:func:`open()`.
  18. ``argp``
  19. pointer to struct :c:type:`dvb_diseqc_slave_reply`.
  20. Description
  21. ===========
  22. Receives reply from a DiSEqC 2.0 command.
  23. The received message is stored at the buffer pointed by ``argp``.
  24. Return Value
  25. ============
  26. On success 0 is returned.
  27. On error -1 is returned, and the ``errno`` variable is set
  28. appropriately.
  29. Generic error codes are described at the
  30. :ref:`Generic Error Codes <gen-errors>` chapter.