1 .. -*- coding: utf-8; mode: rst -*-
3 .. _FE_READ_SIGNAL_STRENGTH:
5 ***********************
6 FE_READ_SIGNAL_STRENGTH
7 ***********************
12 FE_READ_SIGNAL_STRENGTH
18 .. cpp:function:: int ioctl( int fd, int request = FE_READ_SIGNAL_STRENGTH, uint16_t *strength)
33 - File descriptor returned by a previous call to open().
40 :ref:`FE_READ_SIGNAL_STRENGTH`
47 - The signal strength value is stored into \*strength.
53 This ioctl call returns the signal strength value for the signal
54 currently received by the front-end. For this command, read-only access
55 to the device is sufficient.
61 On success 0 is returned, on error -1 and the ``errno`` variable is set
62 appropriately. The generic error codes are described at the
63 :ref:`Generic Error Codes <gen-errors>` chapter.