1 .. -*- coding: utf-8; mode: rst -*-
14 .. attention:: This ioctl is deprecated.
19 .. c:function:: int ioctl(int fd, FE_READ_BER, uint32_t *ber)
27 File descriptor returned by :c:func:`open() <dvb-fe-open>`.
30 The bit error rate is stored into \*ber.
36 This ioctl call returns the bit error rate for the signal currently
37 received/demodulated by the front-end. For this command, read-only
38 access to the device is sufficient.
44 On success 0 is returned, on error -1 and the ``errno`` variable is set
45 appropriately. The generic error codes are described at the
46 :ref:`Generic Error Codes <gen-errors>` chapter.