summaryrefslogtreecommitdiff
path: root/Documentation/linux_tv/media/v4l/vidioc-queryctrl.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-queryctrl.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-queryctrl.rst')
-rw-r--r--Documentation/linux_tv/media/v4l/vidioc-queryctrl.rst11
1 files changed, 6 insertions, 5 deletions
diff --git a/Documentation/linux_tv/media/v4l/vidioc-queryctrl.rst b/Documentation/linux_tv/media/v4l/vidioc-queryctrl.rst
index 4e0eb7b04fd2..0f27e712eec9 100644
--- a/Documentation/linux_tv/media/v4l/vidioc-queryctrl.rst
+++ b/Documentation/linux_tv/media/v4l/vidioc-queryctrl.rst
@@ -6,12 +6,13 @@
ioctls VIDIOC_QUERYCTRL, VIDIOC_QUERY_EXT_CTRL and VIDIOC_QUERYMENU
*******************************************************************
-NAME
+Name
====
VIDIOC_QUERYCTRL - VIDIOC_QUERY_EXT_CTRL - VIDIOC_QUERYMENU - Enumerate controls and menu control items
-SYNOPSIS
+
+Synopsis
========
.. cpp:function:: int ioctl( int fd, int request, struct v4l2_queryctrl *argp )
@@ -21,7 +22,7 @@ SYNOPSIS
.. cpp:function:: int ioctl( int fd, int request, struct v4l2_querymenu *argp )
-ARGUMENTS
+Arguments
=========
``fd``
@@ -33,7 +34,7 @@ ARGUMENTS
``argp``
-DESCRIPTION
+Description
===========
To query the attributes of a control applications set the ``id`` field
@@ -753,7 +754,7 @@ See also the examples in :ref:`control`.
``V4L2_CTRL_TYPE_BUTTON`` have this flag set.
-RETURN VALUE
+Return Value
============
On success 0 is returned, on error -1 and the ``errno`` variable is set