1.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2
3.. _dmx_fclose:
4
5========================
6Digital TV demux close()
7========================
8
9Name
10----
11
12Digital TV demux close()
13
14
15Synopsis
16--------
17
18.. c:function:: int close(int fd)
19    :name: dvb-dmx-close
20
21
22Arguments
23---------
24
25``fd``
26  File descriptor returned by a previous call to
27  :c:func:`open() <dvb-dmx-open>`.
28
29Description
30-----------
31
32This system call deactivates and deallocates a filter that was
33previously allocated via the :c:func:`open() <dvb-dmx-open>` call.
34
35
36Return Value
37------------
38
39On success 0 is returned.
40
41On error, -1 is returned and the ``errno`` variable is set
42appropriately.
43
44The generic error codes are described at the
45:ref:`Generic Error Codes <gen-errors>` chapter.
46