summaryrefslogtreecommitdiff
path: root/v4l2-spec/func-close.sgml
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-09-17 10:16:57 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-17 10:16:57 -0300
commit33b0deb1ca699a4e3d5a90a4a35a2029aba91b0e (patch)
tree61bb65e12f7cd11943bcbce017ec894da934cf6a /v4l2-spec/func-close.sgml
parent31c79ea0fb1c6aa8d7b74068940fd95c8e860da4 (diff)
parentc7d66a73b2ab88ce7c12d867e2830ee221e58489 (diff)
downloadmediapointer-dvb-s2-33b0deb1ca699a4e3d5a90a4a35a2029aba91b0e.tar.gz
mediapointer-dvb-s2-33b0deb1ca699a4e3d5a90a4a35a2029aba91b0e.tar.bz2
merge: http://linuxtv.org/hg/~jfrancois/v4l-dvb
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'v4l2-spec/func-close.sgml')
-rw-r--r--v4l2-spec/func-close.sgml70
1 files changed, 0 insertions, 70 deletions
diff --git a/v4l2-spec/func-close.sgml b/v4l2-spec/func-close.sgml
deleted file mode 100644
index dfb41cbbb..000000000
--- a/v4l2-spec/func-close.sgml
+++ /dev/null
@@ -1,70 +0,0 @@
-<refentry id="func-close">
- <refmeta>
- <refentrytitle>V4L2 close()</refentrytitle>
- &manvol;
- </refmeta>
-
- <refnamediv>
- <refname>v4l2-close</refname>
- <refpurpose>Close a V4L2 device</refpurpose>
- </refnamediv>
-
- <refsynopsisdiv>
- <funcsynopsis>
- <funcsynopsisinfo>#include &lt;unistd.h&gt;</funcsynopsisinfo>
- <funcprototype>
- <funcdef>int <function>close</function></funcdef>
- <paramdef>int <parameter>fd</parameter></paramdef>
- </funcprototype>
- </funcsynopsis>
- </refsynopsisdiv>
-
- <refsect1>
- <title>Arguments</title>
-
- <variablelist>
- <varlistentry>
- <term><parameter>fd</parameter></term>
- <listitem>
- <para>&fd;</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1>
-
- <refsect1>
- <title>Description</title>
-
- <para>Closes the device. Any I/O in progress is terminated and
-resources associated with the file descriptor are freed. However data
-format parameters, current input or output, control values or other
-properties remain unchanged.</para>
- </refsect1>
-
- <refsect1>
- <title>Return Value</title>
-
- <para>The function returns <returnvalue>0</returnvalue> on
-success, <returnvalue>-1</returnvalue> on failure and the
-<varname>errno</varname> is set appropriately. Possible error
-codes:</para>
-
- <variablelist>
- <varlistentry>
- <term><errorcode>EBADF</errorcode></term>
- <listitem>
- <para><parameter>fd</parameter> is not a valid open file
-descriptor.</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1>
-</refentry>
-
-<!--
-Local Variables:
-mode: sgml
-sgml-parent-document: "v4l2.sgml"
-indent-tabs-mode: nil
-End:
--->