mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 21:02:19 +00:00
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:
parent
648301b456
commit
96cb579cc4
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user