Commit | Line | Data |
---|---|---|
5377d91f MH |
1 | .. -*- coding: utf-8; mode: rst -*- |
2 | ||
3 | .. _FE_GET_FRONTEND: | |
4 | ||
5 | *************** | |
6 | FE_GET_FRONTEND | |
7 | *************** | |
8 | ||
15e7d615 | 9 | Name |
586027ce | 10 | ==== |
5377d91f | 11 | |
586027ce | 12 | FE_GET_FRONTEND |
5377d91f | 13 | |
cf8076c3 MCC |
14 | .. attention:: This ioctl is deprecated. |
15 | ||
15e7d615 MCC |
16 | |
17 | Synopsis | |
586027ce | 18 | ======== |
5377d91f | 19 | |
cf8076c3 MCC |
20 | .. c:function:: int ioctl(int fd, FE_GET_FRONTEND, struct dvb_frontend_parameters *p) |
21 | :name: FE_GET_FRONTEND | |
5377d91f | 22 | |
5377d91f | 23 | |
15e7d615 | 24 | Arguments |
586027ce | 25 | ========= |
5377d91f | 26 | |
cf8076c3 MCC |
27 | ``fd`` |
28 | File descriptor returned by :c:func:`open() <dvb-fe-open>`. | |
5377d91f | 29 | |
5377d91f | 30 | |
cf8076c3 MCC |
31 | ``p`` |
32 | Points to parameters for tuning operation. | |
5377d91f MH |
33 | |
34 | ||
15e7d615 | 35 | Description |
586027ce MCC |
36 | =========== |
37 | ||
38 | This ioctl call queries the currently effective frontend parameters. For | |
39 | this command, read-only access to the device is sufficient. | |
40 | ||
41 | ||
15e7d615 | 42 | Return Value |
586027ce | 43 | ============ |
5377d91f MH |
44 | |
45 | On success 0 is returned, on error -1 and the ``errno`` variable is set | |
46 | appropriately. The generic error codes are described at the | |
47 | :ref:`Generic Error Codes <gen-errors>` chapter. | |
48 | ||
49 | ||
50 | ||
51 | .. flat-table:: | |
52 | :header-rows: 0 | |
53 | :stub-columns: 0 | |
54 | ||
55 | ||
56 | - .. row 1 | |
57 | ||
cdb4af0f | 58 | - ``EINVAL`` |
5377d91f MH |
59 | |
60 | - Maximum supported symbol rate reached. |