Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu
[sfrench/cifs-2.6.git] / Documentation / media / uapi / dvb / frontend_f_close.rst
1 .. -*- coding: utf-8; mode: rst -*-
2
3 .. _frontend_f_close:
4
5 ***************************
6 Digital TV frontend close()
7 ***************************
8
9 Name
10 ====
11
12 fe-close - Close a frontend device
13
14
15 Synopsis
16 ========
17
18 .. code-block:: c
19
20     #include <unistd.h>
21
22
23 .. c:function:: int close( int fd )
24     :name: dvb-fe-close
25
26 Arguments
27 =========
28
29 ``fd``
30     File descriptor returned by :c:func:`open() <dvb-fe-open>`.
31
32
33 Description
34 ===========
35
36 This system call closes a previously opened front-end device. After
37 closing a front-end device, its corresponding hardware might be powered
38 down automatically.
39
40
41 Return Value
42 ============
43
44 On success 0 is returned.
45
46 On error -1 is returned, and the ``errno`` variable is set
47 appropriately.
48
49 Generic error codes are described at the
50 :ref:`Generic Error Codes <gen-errors>` chapter.