Commit | Line | Data |
---|---|---|
5377d91f MH |
1 | .. -*- coding: utf-8; mode: rst -*- |
2 | ||
3 | .. _FE_GET_FRONTEND: | |
4 | ||
5 | *************** | |
6 | FE_GET_FRONTEND | |
7 | *************** | |
8 | ||
9 | DESCRIPTION | |
10 | ||
11 | This ioctl call queries the currently effective frontend parameters. For | |
12 | this command, read-only access to the device is sufficient. | |
13 | ||
14 | SYNOPSIS | |
15 | ||
16 | int ioctl(int fd, int request = | |
7347081e | 17 | :ref:`FE_GET_FRONTEND`, struct |
5377d91f MH |
18 | dvb_frontend_parameters *p); |
19 | ||
20 | PARAMETERS | |
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 | ||
7347081e | 39 | - Equals :ref:`FE_SET_FRONTEND` for this |
5377d91f MH |
40 | command. |
41 | ||
42 | - .. row 3 | |
43 | ||
44 | - struct dvb_frontend_parameters *p | |
45 | ||
46 | - Points to parameters for tuning operation. | |
47 | ||
48 | ||
49 | RETURN VALUE | |
50 | ||
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. | |
54 | ||
55 | ||
56 | ||
57 | .. flat-table:: | |
58 | :header-rows: 0 | |
59 | :stub-columns: 0 | |
60 | ||
61 | ||
62 | - .. row 1 | |
63 | ||
64 | - EINVAL | |
65 | ||
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 | .. ------------------------------------------------------------------------------ |