X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=Documentation%2Fmedia%2Fuapi%2Fv4l%2Ffunc-select.rst;h=002dedba26661743a521228eb8884282b174f3b8;hb=326dbf4a27d8cc308a411b2ff2df615522915992;hp=7798384ae396b2aaf4c3742739339764e7ad06fa;hpb=f72035fad84c9b51a45fd8afc8024f3df0ba8848;p=deliverable%2Flinux.git diff --git a/Documentation/media/uapi/v4l/func-select.rst b/Documentation/media/uapi/v4l/func-select.rst index 7798384ae396..002dedba2666 100644 --- a/Documentation/media/uapi/v4l/func-select.rst +++ b/Documentation/media/uapi/v4l/func-select.rst @@ -22,12 +22,26 @@ Synopsis #include -.. cpp:function:: int select( int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout ) - +.. 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