Mauro Carvalho Chehab | 47d23e3 | 2016-07-05 10:37:31 -0300 | [diff] [blame^] | 1 | .. -*- coding: utf-8; mode: rst -*- |
| 2 | |
| 3 | .. _CA_GET_SLOT_INFO: |
| 4 | |
| 5 | CA_GET_SLOT_INFO |
| 6 | ================ |
| 7 | |
| 8 | Description |
| 9 | ----------- |
| 10 | |
| 11 | This ioctl is undocumented. Documentation is welcome. |
| 12 | |
| 13 | Synopsis |
| 14 | -------- |
| 15 | |
| 16 | .. cpp:function:: int ioctl(fd, int request = CA_GET_SLOT_INFO, ca_slot_info_t *) |
| 17 | |
| 18 | Arguments |
| 19 | ---------- |
| 20 | |
| 21 | |
| 22 | |
| 23 | .. flat-table:: |
| 24 | :header-rows: 0 |
| 25 | :stub-columns: 0 |
| 26 | |
| 27 | |
| 28 | - .. row 1 |
| 29 | |
| 30 | - int fd |
| 31 | |
| 32 | - File descriptor returned by a previous call to open(). |
| 33 | |
| 34 | - .. row 2 |
| 35 | |
| 36 | - int request |
| 37 | |
| 38 | - Equals CA_GET_SLOT_INFO for this command. |
| 39 | |
| 40 | - .. row 3 |
| 41 | |
| 42 | - ca_slot_info_t \* |
| 43 | |
| 44 | - Undocumented. |
| 45 | |
| 46 | |
| 47 | Return Value |
| 48 | ------------ |
| 49 | |
| 50 | On success 0 is returned, on error -1 and the ``errno`` variable is set |
| 51 | appropriately. The generic error codes are described at the |
| 52 | :ref:`Generic Error Codes <gen-errors>` chapter. |
| 53 | |
| 54 | |