1 .. SPDX-License-Identifier: GFDL-1.1-no-invari 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 .. c:namespace:: DTV.fe 2 .. c:namespace:: DTV.fe 3 3 4 .. _FE_READ_SIGNAL_STRENGTH: 4 .. _FE_READ_SIGNAL_STRENGTH: 5 5 6 *********************** 6 *********************** 7 FE_READ_SIGNAL_STRENGTH 7 FE_READ_SIGNAL_STRENGTH 8 *********************** 8 *********************** 9 9 10 Name 10 Name 11 ==== 11 ==== 12 12 13 FE_READ_SIGNAL_STRENGTH 13 FE_READ_SIGNAL_STRENGTH 14 14 15 .. attention:: This ioctl is deprecated. 15 .. attention:: This ioctl is deprecated. 16 16 17 Synopsis 17 Synopsis 18 ======== 18 ======== 19 19 20 .. c:macro:: FE_READ_SIGNAL_STRENGTH 20 .. c:macro:: FE_READ_SIGNAL_STRENGTH 21 21 22 ``int ioctl(int fd, FE_READ_SIGNAL_STRENGTH, u 22 ``int ioctl(int fd, FE_READ_SIGNAL_STRENGTH, uint16_t *strength)`` 23 23 24 Arguments 24 Arguments 25 ========= 25 ========= 26 26 27 ``fd`` 27 ``fd`` 28 File descriptor returned by :c:func:`open( 28 File descriptor returned by :c:func:`open()`. 29 29 30 ``strength`` 30 ``strength`` 31 The signal strength value is stored into \ 31 The signal strength value is stored into \*strength. 32 32 33 Description 33 Description 34 =========== 34 =========== 35 35 36 This ioctl call returns the signal strength va 36 This ioctl call returns the signal strength value for the signal 37 currently received by the front-end. For this 37 currently received by the front-end. For this command, read-only access 38 to the device is sufficient. 38 to the device is sufficient. 39 39 40 Return Value 40 Return Value 41 ============ 41 ============ 42 42 43 On success 0 is returned. 43 On success 0 is returned. 44 44 45 On error -1 is returned, and the ``errno`` var 45 On error -1 is returned, and the ``errno`` variable is set 46 appropriately. 46 appropriately. 47 47 48 Generic error codes are described at the 48 Generic error codes are described at the 49 :ref:`Generic Error Codes <gen-errors>` chapte 49 :ref:`Generic Error Codes <gen-errors>` chapter.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.