0001 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
0002 .. c:namespace:: DTV.dmx
0003
0004 .. _dmx_fclose:
0005
0006 ========================
0007 Digital TV demux close()
0008 ========================
0009
0010 Name
0011 ----
0012
0013 Digital TV demux close()
0014
0015 Synopsis
0016 --------
0017
0018 .. c:function:: int close(int fd)
0019
0020 Arguments
0021 ---------
0022
0023 ``fd``
0024 File descriptor returned by a previous call to
0025 :c:func:`open()`.
0026
0027 Description
0028 -----------
0029
0030 This system call deactivates and deallocates a filter that was
0031 previously allocated via the :c:func:`open()` call.
0032
0033 Return Value
0034 ------------
0035
0036 On success 0 is returned.
0037
0038 On error, -1 is returned and the ``errno`` variable is set
0039 appropriately.
0040
0041 The generic error codes are described at the
0042 :ref:`Generic Error Codes <gen-errors>` chapter.