Adjust the widths and show error codes as constants.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
:c:func:`close()` returns 0 on success. On error, -1 is returned, and
``errno`` is set appropriately. Possible error codes are:
-EBADF
+``EBADF``
``fd`` is not a valid open file descriptor.
-1 is returned, and ``errno`` is set appropriately. Possible error codes
include:
-EACCES
+``EACCES``
The requested access to the file is not allowed.
-EMFILE
+``EMFILE``
The process already has the maximum number of files open.
-ENFILE
+``ENFILE``
The system limit on the total number of open files has been reached.
-ENOMEM
+``ENOMEM``
Insufficient kernel memory was available.
-ENXIO
+``ENXIO``
No device corresponding to this device special file exists.
non-zero ``revents`` fields, or zero if the call timed out. On error -1
is returned, and the ``errno`` variable is set appropriately:
-EBADF
+``EBADF``
One or more of the ``ufds`` members specify an invalid file
descriptor.
-EFAULT
+``EFAULT``
``ufds`` references an inaccessible memory area.
-EINTR
+``EINTR``
The call was interrupted by a signal.
-EINVAL
+``EINVAL``
The ``nfds`` argument is greater than ``OPEN_MAX``.
.. flat-table:: struct cec_caps
:header-rows: 0
:stub-columns: 0
- :widths: 1 1 2
+ :widths: 1 1 16
- .. row 1
.. flat-table:: CEC Capabilities Flags
:header-rows: 0
:stub-columns: 0
- :widths: 3 1 4
+ :widths: 3 1 8
- .. _`CEC_CAP_PHYS_ADDR`:
.. flat-table:: struct cec_log_addrs
:header-rows: 0
:stub-columns: 0
- :widths: 1 1 2
+ :widths: 1 1 16
- .. row 1
.. flat-table:: CEC Logical Address Types
:header-rows: 0
:stub-columns: 0
- :widths: 3 1 4
+ :widths: 3 1 16
- .. _`CEC_LOG_ADDR_TYPE_TV`:
.. flat-table:: struct cec_event_state_change
:header-rows: 0
:stub-columns: 0
- :widths: 1 1 2
+ :widths: 1 1 8
- .. row 1
.. flat-table:: struct cec_event_lost_msgs
:header-rows: 0
:stub-columns: 0
- :widths: 1 1 2
+ :widths: 1 1 16
- .. row 1
.. flat-table:: struct cec_event
:header-rows: 0
:stub-columns: 0
- :widths: 1 1 2 1
+ :widths: 1 1 1 8
- .. row 1
.. flat-table:: CEC Events Types
:header-rows: 0
:stub-columns: 0
- :widths: 3 1 4
+ :widths: 3 1 16
- .. _CEC_EVENT_STATE_CHANGE:
.. flat-table:: CEC Event Flags
:header-rows: 0
:stub-columns: 0
- :widths: 3 1 4
+ :widths: 3 1 8
- .. _CEC_EVENT_FL_INITIAL_VALUE:
.. flat-table:: Initiator Modes
:header-rows: 0
:stub-columns: 0
- :widths: 3 1 4
+ :widths: 3 1 16
- .. _`CEC_MODE_NO_INITIATOR`:
.. flat-table:: Follower Modes
:header-rows: 0
:stub-columns: 0
- :widths: 3 1 4
+ :widths: 3 1 16
- .. _`CEC_MODE_NO_FOLLOWER`:
.. flat-table:: Core Message Processing
:header-rows: 0
:stub-columns: 0
+ :widths: 1 8
- .. _`CEC_MSG_GET_CEC_VERSION`:
.. flat-table:: struct cec_msg
:header-rows: 0
:stub-columns: 0
- :widths: 1 1 2
+ :widths: 1 1 16
- .. row 1
.. flat-table:: CEC Transmit Status
:header-rows: 0
:stub-columns: 0
- :widths: 3 1 4
+ :widths: 3 1 16
- .. _`CEC_TX_STATUS_OK`:
.. flat-table:: CEC Receive Status
:header-rows: 0
:stub-columns: 0
- :widths: 3 1 4
+ :widths: 3 1 16
- .. _`CEC_RX_STATUS_OK`: