1.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2
3.. _frontend_f_close:
4
5***************************
6Digital TV frontend close()
7***************************
8
9Name
10====
11
12fe-close - Close a frontend device
13
14
15Synopsis
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
26Arguments
27=========
28
29``fd``
30    File descriptor returned by :c:func:`open() <dvb-fe-open>`.
31
32
33Description
34===========
35
36This system call closes a previously opened front-end device. After
37closing a front-end device, its corresponding hardware might be powered
38down automatically.
39
40
41Return Value
42============
43
44On success 0 is returned.
45
46On error -1 is returned, and the ``errno`` variable is set
47appropriately.
48
49Generic error codes are described at the
50:ref:`Generic Error Codes <gen-errors>` chapter.
51