summaryrefslogtreecommitdiff
path: root/Documentation/linux_tv/media/v4l/vidioc-reqbufs.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/linux_tv/media/v4l/vidioc-reqbufs.rst')
-rw-r--r--Documentation/linux_tv/media/v4l/vidioc-reqbufs.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/Documentation/linux_tv/media/v4l/vidioc-reqbufs.rst b/Documentation/linux_tv/media/v4l/vidioc-reqbufs.rst
index 6803f21c8f4f..2e27708fd7a6 100644
--- a/Documentation/linux_tv/media/v4l/vidioc-reqbufs.rst
+++ b/Documentation/linux_tv/media/v4l/vidioc-reqbufs.rst
@@ -6,17 +6,18 @@
ioctl VIDIOC_REQBUFS
********************
-*man VIDIOC_REQBUFS(2)*
+NAME
+====
-Initiate Memory Mapping or User Pointer I/O
+VIDIOC_REQBUFS - Initiate Memory Mapping or User Pointer I/O
-
-Synopsis
+SYNOPSIS
========
.. cpp:function:: int ioctl( int fd, int request, struct v4l2_requestbuffers *argp )
-Arguments
+
+ARGUMENTS
=========
``fd``
@@ -28,7 +29,7 @@ Arguments
``argp``
-Description
+DESCRIPTION
===========
This ioctl is used to initiate :ref:`memory mapped <mmap>`,
@@ -111,8 +112,7 @@ any DMA in progress, an implicit
must set the array to zero.
-
-Return Value
+RETURN VALUE
============
On success 0 is returned, on error -1 and the ``errno`` variable is set