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_BER: 4 .. _FE_READ_BER: 5 5 6 *********** 6 *********** 7 FE_READ_BER 7 FE_READ_BER 8 *********** 8 *********** 9 9 10 Name 10 Name 11 ==== 11 ==== 12 12 13 FE_READ_BER 13 FE_READ_BER 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_BER 20 .. c:macro:: FE_READ_BER 21 21 22 ``int ioctl(int fd, FE_READ_BER, uint32_t *ber 22 ``int ioctl(int fd, FE_READ_BER, uint32_t *ber)`` 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 ``ber`` 30 ``ber`` 31 The bit error rate is stored into \*ber. 31 The bit error rate is stored into \*ber. 32 32 33 Description 33 Description 34 =========== 34 =========== 35 35 36 This ioctl call returns the bit error rate for 36 This ioctl call returns the bit error rate for the signal currently 37 received/demodulated by the front-end. For thi 37 received/demodulated by the front-end. For this command, read-only 38 access to the device is sufficient. 38 access 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.