0001 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
0002 .. c:namespace:: DTV.fe
0003
0004 .. _FE_GET_FRONTEND:
0005
0006 ***************
0007 FE_GET_FRONTEND
0008 ***************
0009
0010 Name
0011 ====
0012
0013 FE_GET_FRONTEND
0014
0015 .. attention:: This ioctl is deprecated.
0016
0017 Synopsis
0018 ========
0019
0020 .. c:macro:: FE_GET_FRONTEND
0021
0022 ``int ioctl(int fd, FE_GET_FRONTEND, struct dvb_frontend_parameters *p)``
0023
0024 Arguments
0025 =========
0026
0027 ``fd``
0028 File descriptor returned by :c:func:`open()`.
0029
0030 ``p``
0031 Points to parameters for tuning operation.
0032
0033 Description
0034 ===========
0035
0036 This ioctl call queries the currently effective frontend parameters. For
0037 this command, read-only access to the device is sufficient.
0038
0039 Return Value
0040 ============
0041
0042 On success 0 is returned.
0043
0044 On error -1 is returned, and the ``errno`` variable is set
0045 appropriately.
0046
0047 .. flat-table::
0048 :header-rows: 0
0049 :stub-columns: 0
0050
0051 - .. row 1
0052
0053 - ``EINVAL``
0054
0055 - Maximum supported symbol rate reached.
0056
0057 Generic error codes are described at the
0058 :ref:`Generic Error Codes <gen-errors>` chapter.