1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2 .. c:namespace:: DTV.fe
15 .. attention:: This ioctl is deprecated.
20 .. c:macro:: FE_GET_FRONTEND
22 ``int ioctl(int fd, FE_GET_FRONTEND, struct dvb_frontend_parameters *p)``
28 File descriptor returned by :c:func:`open()`.
31 Points to parameters for tuning operation.
36 This ioctl call queries the currently effective frontend parameters. For
37 this command, read-only access to the device is sufficient.
42 On success 0 is returned.
44 On error -1 is returned, and the ``errno`` variable is set
55 - Maximum supported symbol rate reached.
57 Generic error codes are described at the
58 :ref:`Generic Error Codes <gen-errors>` chapter.