Merge remote-tracking branch 'regulator/for-next'
[deliverable/linux.git] / Documentation / media / uapi / dvb / fe-read-ber.rst
CommitLineData
5377d91f
MH
1.. -*- coding: utf-8; mode: rst -*-
2
3.. _FE_READ_BER:
4
5***********
6FE_READ_BER
7***********
8
15e7d615
MCC
9Name
10====
5377d91f 11
15e7d615 12FE_READ_BER
5377d91f 13
cf8076c3
MCC
14.. attention:: This ioctl is deprecated.
15
15e7d615
MCC
16Synopsis
17========
5377d91f 18
cf8076c3
MCC
19.. c:function:: int ioctl(int fd, FE_READ_BER, uint32_t *ber)
20 :name: FE_READ_BER
5377d91f 21
15e7d615 22
9e1f61c0 23Arguments
15e7d615 24=========
5377d91f 25
cf8076c3
MCC
26``fd``
27 File descriptor returned by :c:func:`open() <dvb-fe-open>`.
5377d91f 28
cf8076c3
MCC
29``ber``
30 The bit error rate is stored into \*ber.
5377d91f
MH
31
32
15e7d615
MCC
33Description
34===========
35
36This ioctl call returns the bit error rate for the signal currently
37received/demodulated by the front-end. For this command, read-only
38access to the device is sufficient.
39
40
9e1f61c0 41Return Value
15e7d615 42============
5377d91f
MH
43
44On success 0 is returned, on error -1 and the ``errno`` variable is set
45appropriately. The generic error codes are described at the
46:ref:`Generic Error Codes <gen-errors>` chapter.
This page took 0.048215 seconds and 5 git commands to generate.