summaryrefslogtreecommitdiff
path: root/Documentation/linux_tv/media/v4l/func-ioctl.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/linux_tv/media/v4l/func-ioctl.rst')
-rw-r--r--Documentation/linux_tv/media/v4l/func-ioctl.rst15
1 files changed, 8 insertions, 7 deletions
diff --git a/Documentation/linux_tv/media/v4l/func-ioctl.rst b/Documentation/linux_tv/media/v4l/func-ioctl.rst
index fafec5f56a36..91917e976dd0 100644
--- a/Documentation/linux_tv/media/v4l/func-ioctl.rst
+++ b/Documentation/linux_tv/media/v4l/func-ioctl.rst
@@ -6,12 +6,12 @@
V4L2 ioctl()
************
-*man v4l2-ioctl(2)*
+NAME
+====
-Program a V4L2 device
+v4l2-ioctl - Program a V4L2 device
-
-Synopsis
+SYNOPSIS
========
.. code-block:: c
@@ -21,7 +21,8 @@ Synopsis
.. cpp:function:: int ioctl( int fd, int request, void *argp )
-Arguments
+
+ARGUMENTS
=========
``fd``
@@ -35,7 +36,7 @@ Arguments
Pointer to a function parameter, usually a structure.
-Description
+DESCRIPTION
===========
The :ref:`ioctl() <func-ioctl>` function is used to program V4L2 devices. The
@@ -49,7 +50,7 @@ All V4L2 ioctl requests, their respective function and parameters are
specified in :ref:`user-func`.
-Return Value
+RETURN VALUE
============
On success 0 is returned, on error -1 and the ``errno`` variable is set