summaryrefslogtreecommitdiff
path: root/Documentation/media/uapi/v4l/func-select.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/media/uapi/v4l/func-select.rst')
-rw-r--r--Documentation/media/uapi/v4l/func-select.rst16
1 files changed, 15 insertions, 1 deletions
diff --git a/Documentation/media/uapi/v4l/func-select.rst b/Documentation/media/uapi/v4l/func-select.rst
index 78fa66b984d3..002dedba2666 100644
--- a/Documentation/media/uapi/v4l/func-select.rst
+++ b/Documentation/media/uapi/v4l/func-select.rst
@@ -23,11 +23,25 @@ Synopsis
.. c:function:: int select( int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout )
-
+ :name: v4l2-select
Arguments
=========
+``nfds``
+ The highest-numbered file descriptor in any of the three sets, plus 1.
+
+``readfds``
+ File descriptions to be watched if a read() call won't block.
+
+``writefds``
+ File descriptions to be watched if a write() won't block.
+
+``exceptfds``
+ File descriptions to be watched for V4L2 events.
+
+``timeout``
+ Maximum time to wait.
Description