Synopsis
========
-.. cpp:function:: int ioctl( int fd, int request, __u32 *argp )
+.. c:function:: int ioctl( int fd, CEC_G_MODE, __u32 *argp )
+ :name: CEC_G_MODE
+
+.. c:function:: int ioctl( int fd, CEC_S_MODE, __u32 *argp )
+ :name: CEC_S_MODE
Arguments
=========
``fd``
- File descriptor returned by :ref:`open() <cec-func-open>`.
-
-``request``
- CEC_G_MODE, CEC_S_MODE
+ File descriptor returned by :c:func:`open() <cec-open>`.
``argp``
-
+ Pointer to CEC mode.
Description
===========
Available initiator modes are:
+.. tabularcolumns:: |p{5.6cm}|p{0.9cm}|p{11.0cm}|
.. _cec-mode-initiator_e:
-.. tabularcolumns:: |p{5.6cm}|p{0.9cm}|p{11.0cm}|
-
.. flat-table:: Initiator Modes
:header-rows: 0
:stub-columns: 0
Available follower modes are:
+.. tabularcolumns:: |p{6.6cm}|p{0.9cm}|p{10.0cm}|
.. _cec-mode-follower_e:
-.. tabularcolumns:: |p{6.6cm}|p{0.9cm}|p{10.0cm}|
-
.. flat-table:: Follower Modes
:header-rows: 0
:stub-columns: 0
Core message processing details:
+.. tabularcolumns:: |p{6.6cm}|p{10.9cm}|
.. _cec-core-processing:
-.. tabularcolumns:: |p{6.6cm}|p{10.9cm}|
-
.. flat-table:: Core Message Processing
:header-rows: 0
:stub-columns: 0