fe-get-frontend.rst 1.4 KB
Newer Older
1 2 3 4 5 6 7 8 9
.. Permission is granted to copy, distribute and/or modify this
.. document under the terms of the GNU Free Documentation License,
.. Version 1.1 or any later version published by the Free Software
.. Foundation, with no Invariant Sections, no Front-Cover Texts
.. and no Back-Cover Texts. A copy of the license is included at
.. Documentation/media/uapi/fdl-appendix.rst.
..
.. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections

10 11 12 13 14 15
.. _FE_GET_FRONTEND:

***************
FE_GET_FRONTEND
***************

16
Name
17
====
18

19
FE_GET_FRONTEND
20

21 22
.. attention:: This ioctl is deprecated.

23 24

Synopsis
25
========
26

27 28
.. c:function:: int ioctl(int fd, FE_GET_FRONTEND, struct dvb_frontend_parameters *p)
    :name: FE_GET_FRONTEND
29 30


31
Arguments
32
=========
33

34 35
``fd``
    File descriptor returned by :c:func:`open() <dvb-fe-open>`.
36 37


38 39
``p``
    Points to parameters for tuning operation.
40 41


42
Description
43 44 45 46 47 48
===========

This ioctl call queries the currently effective frontend parameters. For
this command, read-only access to the device is sufficient.


49
Return Value
50
============
51

52
On success 0 is returned.
53

54 55
On error -1 is returned, and the ``errno`` variable is set
appropriately.
56 57 58 59 60 61 62 63

.. flat-table::
    :header-rows:  0
    :stub-columns: 0


    -  .. row 1

64
       -  ``EINVAL``
65 66

       -  Maximum supported symbol rate reached.
67 68 69

Generic error codes are described at the
:ref:`Generic Error Codes <gen-errors>` chapter.