fe-get-frontend.rst 981 字节
Newer Older
1 2 3 4 5 6 7 8
.. -*- coding: utf-8; mode: rst -*-

.. _FE_GET_FRONTEND:

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

9
Name
10
====
11

12
FE_GET_FRONTEND
13

14 15
.. attention:: This ioctl is deprecated.

16 17

Synopsis
18
========
19

20 21
.. c:function:: int ioctl(int fd, FE_GET_FRONTEND, struct dvb_frontend_parameters *p)
    :name: FE_GET_FRONTEND
22 23


24
Arguments
25
=========
26

27 28
``fd``
    File descriptor returned by :c:func:`open() <dvb-fe-open>`.
29 30


31 32
``p``
    Points to parameters for tuning operation.
33 34


35
Description
36 37 38 39 40 41
===========

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


42
Return Value
43
============
44 45 46 47 48 49 50 51 52 53 54 55 56 57

On success 0 is returned, on error -1 and the ``errno`` variable is set
appropriately. The generic error codes are described at the
:ref:`Generic Error Codes <gen-errors>` chapter.



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


    -  .. row 1

58
       -  ``EINVAL``
59 60

       -  Maximum supported symbol rate reached.