brintos

brintos / linux-shallow public Read only

0
0
Text · 732 B · 719ac1d Raw
43 lines · plain
1.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later2.. c:namespace:: DTV.dmx3 4.. _dmx_fclose:5 6========================7Digital TV demux close()8========================9 10Name11----12 13Digital TV demux close()14 15Synopsis16--------17 18.. c:function:: int close(int fd)19 20Arguments21---------22 23``fd``24  File descriptor returned by a previous call to25  :c:func:`open()`.26 27Description28-----------29 30This system call deactivates and deallocates a filter that was31previously allocated via the :c:func:`open()` call.32 33Return Value34------------35 36On success 0 is returned.37 38On error, -1 is returned and the ``errno`` variable is set39appropriately.40 41The generic error codes are described at the42:ref:`Generic Error Codes <gen-errors>` chapter.43