brintos

brintos / linux-shallow public Read only

0
0
Text · 952 B · 2b7d061 Raw
50 lines · plain
1.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later2.. c:namespace:: DTV.fe3 4.. _FE_READ_SIGNAL_STRENGTH:5 6***********************7FE_READ_SIGNAL_STRENGTH8***********************9 10Name11====12 13FE_READ_SIGNAL_STRENGTH14 15.. attention:: This ioctl is deprecated.16 17Synopsis18========19 20.. c:macro:: FE_READ_SIGNAL_STRENGTH21 22``int ioctl(int fd, FE_READ_SIGNAL_STRENGTH, uint16_t *strength)``23 24Arguments25=========26 27``fd``28    File descriptor returned by :c:func:`open()`.29 30``strength``31    The signal strength value is stored into \*strength.32 33Description34===========35 36This ioctl call returns the signal strength value for the signal37currently received by the front-end. For this command, read-only access38to the device is sufficient.39 40Return Value41============42 43On success 0 is returned.44 45On error -1 is returned, and the ``errno`` variable is set46appropriately.47 48Generic error codes are described at the49:ref:`Generic Error Codes <gen-errors>` chapter.50