1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2 .. c:namespace:: DTV.fe
10 .. attention:: This ioctl is deprecated.
20 .. c:macro:: FE_SET_FRONTEND
22 ``int ioctl(int fd, FE_SET_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 starts a tuning operation using specified parameters.
37 The result of this call will be successful if the parameters were valid
38 and the tuning could be initiated. The result of the tuning operation in
39 itself, however, will arrive asynchronously as an event (see
40 documentation for :ref:`FE_GET_EVENT` and
41 FrontendEvent.) If a new :ref:`FE_SET_FRONTEND`
42 operation is initiated before the previous one was completed, the
43 previous operation will be aborted in favor of the new one. This command
44 requires read/write access to the device.
49 On success 0 is returned.
51 On error -1 is returned, and the ``errno`` variable is set
54 .. tabularcolumns:: |p{2.5cm}|p{15.0cm}|
65 - Maximum supported symbol rate reached.
67 Generic error codes are described at the
68 :ref:`Generic Error Codes <gen-errors>` chapter.