summaryrefslogtreecommitdiff
path: root/Documentation/media/uapi/v4l/func-select.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-19 16:53:38 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-22 21:23:27 -0300
commit41d804653ec8aaee432bfd9a78f4c0e24553f5ab (patch)
tree2fd0020cf5b0b6d4baaaf8cbbd4a2b1483bf8996 /Documentation/media/uapi/v4l/func-select.rst
parent1b81f010bfd8ce61b79329d7ebb23b62d5d7effb (diff)
[media] docs-rst: Convert V4L2 uAPI to use C function references
Name all ioctl references and make them match the ioctls that are documented. That will improve the cross-reference index, as it will have all ioctls and syscalls there. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
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