summaryrefslogtreecommitdiff
path: root/Documentation/linux_tv/media/v4l/vidioc-prepare-buf.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-05 15:14:35 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-05 15:15:57 -0300
commit15e7d6158e60a16561a10303d507d6c3fab15c98 (patch)
tree840259f09fb0268afb45b4985af725a7517b78db /Documentation/linux_tv/media/v4l/vidioc-prepare-buf.rst
parent4eb40f14dc984f1e58d7727c5761e1ef40700953 (diff)
downloadlwn-15e7d6158e60a16561a10303d507d6c3fab15c98.tar.gz
lwn-15e7d6158e60a16561a10303d507d6c3fab15c98.zip
doc-rst: linux_tv: don't use uppercases for syscall sections
On the syscall conversions, we used uppercase for the sections, but this is too bold. So, convert them to Camel Case, as it looks visually better. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/linux_tv/media/v4l/vidioc-prepare-buf.rst')
-rw-r--r--Documentation/linux_tv/media/v4l/vidioc-prepare-buf.rst11
1 files changed, 6 insertions, 5 deletions
diff --git a/Documentation/linux_tv/media/v4l/vidioc-prepare-buf.rst b/Documentation/linux_tv/media/v4l/vidioc-prepare-buf.rst
index 0f51082f8c93..79076dff46fd 100644
--- a/Documentation/linux_tv/media/v4l/vidioc-prepare-buf.rst
+++ b/Documentation/linux_tv/media/v4l/vidioc-prepare-buf.rst
@@ -6,18 +6,19 @@
ioctl VIDIOC_PREPARE_BUF
************************
-NAME
+Name
====
VIDIOC_PREPARE_BUF - Prepare a buffer for I/O
-SYNOPSIS
+
+Synopsis
========
.. cpp:function:: int ioctl( int fd, int request, struct v4l2_buffer *argp )
-ARGUMENTS
+Arguments
=========
``fd``
@@ -29,7 +30,7 @@ ARGUMENTS
``argp``
-DESCRIPTION
+Description
===========
Applications can optionally call the :ref:`VIDIOC_PREPARE_BUF` ioctl to
@@ -45,7 +46,7 @@ The :ref:`struct v4l2_buffer <v4l2-buffer>` structure is specified in
:ref:`buffer`.
-RETURN VALUE
+Return Value
============
On success 0 is returned, on error -1 and the ``errno`` variable is set