Lines Matching +full:wait +full:- +full:queue
1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
4 .. _cec-func-poll:
13 cec-poll - Wait for some event on a file descriptor
18 .. code-block:: c
34 Timeout to wait for events
39 With the :c:func:`poll()` function applications can wait for CEC
45 is non-zero). CEC devices set the ``POLLIN`` and ``POLLRDNORM`` flags in
46 the ``revents`` field if there are messages in the receive queue. If the
47 transmit queue has room for new messages, the ``POLLOUT`` and
48 ``POLLWRNORM`` flags are set. If there are events in the event queue,
50 a value of zero, on failure it returns -1 and the ``errno`` variable is
59 non-zero ``revents`` fields, or zero if the call timed out. On error -1