59 lines · plain
1.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later2.. c:namespace:: DTV.fe3 4.. _FE_GET_FRONTEND:5 6***************7FE_GET_FRONTEND8***************9 10Name11====12 13FE_GET_FRONTEND14 15.. attention:: This ioctl is deprecated.16 17Synopsis18========19 20.. c:macro:: FE_GET_FRONTEND21 22``int ioctl(int fd, FE_GET_FRONTEND, struct dvb_frontend_parameters *p)``23 24Arguments25=========26 27``fd``28 File descriptor returned by :c:func:`open()`.29 30``p``31 Points to parameters for tuning operation.32 33Description34===========35 36This ioctl call queries the currently effective frontend parameters. For37this command, read-only access to the device is sufficient.38 39Return Value40============41 42On success 0 is returned.43 44On error -1 is returned, and the ``errno`` variable is set45appropriately.46 47.. flat-table::48 :header-rows: 049 :stub-columns: 050 51 - .. row 152 53 - ``EINVAL``54 55 - Maximum supported symbol rate reached.56 57Generic error codes are described at the58:ref:`Generic Error Codes <gen-errors>` chapter.59