fe-read-signal-strength.rst 920 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. .. -*- coding: utf-8; mode: rst -*-
  2. .. _FE_READ_SIGNAL_STRENGTH:
  3. ***********************
  4. FE_READ_SIGNAL_STRENGTH
  5. ***********************
  6. Name
  7. ====
  8. FE_READ_SIGNAL_STRENGTH
  9. .. attention:: This ioctl is deprecated.
  10. Synopsis
  11. ========
  12. .. c:function:: int ioctl( int fd, FE_READ_SIGNAL_STRENGTH, uint16_t *strength)
  13. :name: FE_READ_SIGNAL_STRENGTH
  14. Arguments
  15. =========
  16. ``fd``
  17. File descriptor returned by :c:func:`open() <dvb-fe-open>`.
  18. ``strength``
  19. The signal strength value is stored into \*strength.
  20. Description
  21. ===========
  22. This ioctl call returns the signal strength value for the signal
  23. currently received by the front-end. For this command, read-only access
  24. to the device is sufficient.
  25. Return Value
  26. ============
  27. On success 0 is returned, on error -1 and the ``errno`` variable is set
  28. appropriately. The generic error codes are described at the
  29. :ref:`Generic Error Codes <gen-errors>` chapter.