1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 cec-close - Close a cec device
22 .. c:function:: int close( int fd )
28 File descriptor returned by :c:func:`open()`.
33 Closes the cec device. Resources associated with the file descriptor are
34 freed. The device configuration remain unchanged.
39 :c:func:`close()` returns 0 on success. On error, -1 is returned, and
40 ``errno`` is set appropriately. Possible error codes are:
43 ``fd`` is not a valid open file descriptor.