41 lines · plain
1.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later2.. c:namespace:: DTV.ca3 4.. _ca_fclose:5 6=====================7Digital TV CA close()8=====================9 10Name11----12 13Digital TV CA close()14 15Synopsis16--------17 18.. c:function:: int close(int fd)19 20Arguments21---------22 23``fd``24 File descriptor returned by a previous call to :c:func:`open()`.25 26Description27-----------28 29This system call closes a previously opened CA device.30 31Return Value32------------33 34On success 0 is returned.35 36On error -1 is returned, and the ``errno`` variable is set37appropriately.38 39Generic error codes are described at the40:ref:`Generic Error Codes <gen-errors>` chapter.41