1 .. -*- coding: utf-8; mode: rst -*-
9 .. attention:: This ioctl is deprecated.
20 .. c:function:: int ioctl(int fd, FE_SET_FRONTEND, struct dvb_frontend_parameters *p)
21 :name: FE_SET_FRONTEND
28 File descriptor returned by :c:func:`open() <dvb-fe-open>`.
31 Points to parameters for tuning operation.
37 This ioctl call starts a tuning operation using specified parameters.
38 The result of this call will be successful if the parameters were valid
39 and the tuning could be initiated. The result of the tuning operation in
40 itself, however, will arrive asynchronously as an event (see
41 documentation for :ref:`FE_GET_EVENT` and
42 FrontendEvent.) If a new :ref:`FE_SET_FRONTEND`
43 operation is initiated before the previous one was completed, the
44 previous operation will be aborted in favor of the new one. This command
45 requires read/write access to the device.
51 On success 0 is returned, on error -1 and the ``errno`` variable is set
52 appropriately. The generic error codes are described at the
53 :ref:`Generic Error Codes <gen-errors>` chapter.
64 - Maximum supported symbol rate reached.