1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2 .. c:namespace:: DTV.fe
13 FE_GET_INFO - Query Digital TV frontend capabilities and returns information
14 about the - front-end. This call only requires read-only access to the device.
19 .. c:macro:: FE_GET_INFO
21 ``int ioctl(int fd, FE_GET_INFO, struct dvb_frontend_info *argp)``
27 File descriptor returned by :c:func:`open()`.
30 pointer to struct :c:type:`dvb_frontend_info`
35 All Digital TV frontend devices support the :ref:`FE_GET_INFO` ioctl. It is
36 used to identify kernel devices compatible with this specification and to
37 obtain information about driver and hardware capabilities. The ioctl
38 takes a pointer to dvb_frontend_info which is filled by the driver.
39 When the driver is not compatible with this specification the ioctl
45 Capabilities describe what a frontend can do. Some capabilities are
46 supported only on some specific frontend types.
48 The frontend capabilities are described at :c:type:`fe_caps`.
53 On success 0 is returned.
55 On error -1 is returned, and the ``errno`` variable is set
58 Generic error codes are described at the
59 :ref:`Generic Error Codes <gen-errors>` chapter.