media: cec-func-poll.rst/func-poll.rst: update EINVAL description

nfds depends on RLIMIT_NOFILE, not OPEN_MAX. Update the description
for cec and v4l2.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
Hans Verkuil 2018-08-14 03:52:17 -04:00 committed by Mauro Carvalho Chehab
parent 648301b456
commit 96cb579cc4
2 changed files with 4 additions and 2 deletions

View File

@ -74,4 +74,5 @@ is returned, and the ``errno`` variable is set appropriately:
The call was interrupted by a signal.
``EINVAL``
The ``nfds`` argument is greater than ``OPEN_MAX``.
The ``nfds`` value exceeds the ``RLIMIT_NOFILE`` value. Use
``getrlimit()`` to obtain this value.

View File

@ -113,4 +113,5 @@ EINTR
The call was interrupted by a signal.
EINVAL
The ``nfds`` argument is greater than ``OPEN_MAX``.
The ``nfds`` value exceeds the ``RLIMIT_NOFILE`` value. Use
``getrlimit()`` to obtain this value.