blob: 5bf39ff72bd707eead5489a19b37a37feea48cbf [file] [log] [blame]
Markus Heiser5377d912016-06-30 15:18:56 +02001.. -*- coding: utf-8; mode: rst -*-
2
3.. _FE_GET_FRONTEND:
4
5***************
6FE_GET_FRONTEND
7***************
8
9DESCRIPTION
10
11This ioctl call queries the currently effective frontend parameters. For
12this command, read-only access to the device is sufficient.
13
14SYNOPSIS
15
16int ioctl(int fd, int request =
Mauro Carvalho Chehab73470812016-07-01 13:58:44 -030017:ref:`FE_GET_FRONTEND`, struct
Markus Heiser5377d912016-06-30 15:18:56 +020018dvb_frontend_parameters *p);
19
20PARAMETERS
21
22
23
24.. flat-table::
25 :header-rows: 0
26 :stub-columns: 0
27
28
29 - .. row 1
30
31 - int fd
32
33 - File descriptor returned by a previous call to open().
34
35 - .. row 2
36
37 - int request
38
Mauro Carvalho Chehab73470812016-07-01 13:58:44 -030039 - Equals :ref:`FE_SET_FRONTEND` for this
Markus Heiser5377d912016-06-30 15:18:56 +020040 command.
41
42 - .. row 3
43
44 - struct dvb_frontend_parameters *p
45
46 - Points to parameters for tuning operation.
47
48
49RETURN VALUE
50
51On success 0 is returned, on error -1 and the ``errno`` variable is set
52appropriately. The generic error codes are described at the
53:ref:`Generic Error Codes <gen-errors>` chapter.
54
55
56
57.. flat-table::
58 :header-rows: 0
59 :stub-columns: 0
60
61
62 - .. row 1
63
Mauro Carvalho Chehabcdb4af02016-07-03 11:53:09 -030064 - ``EINVAL``
Markus Heiser5377d912016-06-30 15:18:56 +020065
66 - Maximum supported symbol rate reached.
67
68
69
70
71.. ------------------------------------------------------------------------------
72.. This file was automatically converted from DocBook-XML with the dbxml
73.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
74.. from the linux kernel, refer to:
75..
76.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
77.. ------------------------------------------------------------------------------