1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2 .. c:namespace:: DTV.fe
4 .. _FE_READ_SIGNAL_STRENGTH:
6 ***********************
7 FE_READ_SIGNAL_STRENGTH
8 ***********************
13 FE_READ_SIGNAL_STRENGTH
15 .. attention:: This ioctl is deprecated.
20 .. c:macro:: FE_READ_SIGNAL_STRENGTH
22 ``int ioctl(int fd, FE_READ_SIGNAL_STRENGTH, uint16_t *strength)``
28 File descriptor returned by :c:func:`open()`.
31 The signal strength value is stored into \*strength.
36 This ioctl call returns the signal strength value for the signal
37 currently received by the front-end. For this command, read-only access
38 to the device is sufficient.
43 On success 0 is returned.
45 On error -1 is returned, and the ``errno`` variable is set
48 Generic error codes are described at the
49 :ref:`Generic Error Codes <gen-errors>` chapter.