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