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