Commit | Line | Data |
---|---|---|
47d23e36 MCC |
1 | .. -*- coding: utf-8; mode: rst -*- |
2 | ||
3 | .. _CA_RESET: | |
4 | ||
586027ce | 5 | ======== |
47d23e36 MCC |
6 | CA_RESET |
7 | ======== | |
8 | ||
15e7d615 | 9 | Name |
586027ce | 10 | ---- |
47d23e36 | 11 | |
586027ce | 12 | CA_RESET |
47d23e36 | 13 | |
15e7d615 MCC |
14 | |
15 | Synopsis | |
47d23e36 MCC |
16 | -------- |
17 | ||
cf8076c3 MCC |
18 | .. c:function:: int ioctl(fd, CA_RESET) |
19 | :name: CA_RESET | |
47d23e36 | 20 | |
47d23e36 | 21 | |
15e7d615 | 22 | Arguments |
586027ce | 23 | --------- |
47d23e36 | 24 | |
cf8076c3 MCC |
25 | ``fd`` |
26 | File descriptor returned by a previous call to :c:func:`open() <cec-open>`. | |
47d23e36 | 27 | |
15e7d615 | 28 | Description |
586027ce MCC |
29 | ----------- |
30 | ||
cf8076c3 | 31 | .. note:: This ioctl is undocumented. Documentation is welcome. |
586027ce MCC |
32 | |
33 | ||
15e7d615 | 34 | Return Value |
47d23e36 MCC |
35 | ------------ |
36 | ||
37 | On success 0 is returned, on error -1 and the ``errno`` variable is set | |
38 | appropriately. The generic error codes are described at the | |
39 | :ref:`Generic Error Codes <gen-errors>` chapter. |