1 .. Permission is granted to copy, distribute and/or modify this
2 .. document under the terms of the GNU Free Documentation License,
3 .. Version 1.1 or any later version published by the Free Software
4 .. Foundation, with no Invariant Sections, no Front-Cover Texts
5 .. and no Back-Cover Texts. A copy of the license is included at
6 .. Documentation/userspace-api/media/fdl-appendix.rst.
8 .. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections
19 cec-close - Close a cec device
30 .. c:function:: int close( int fd )
37 File descriptor returned by :c:func:`open() <cec-open>`.
43 Closes the cec device. Resources associated with the file descriptor are
44 freed. The device configuration remain unchanged.
50 :c:func:`close() <cec-close>` returns 0 on success. On error, -1 is returned, and
51 ``errno`` is set appropriately. Possible error codes are:
54 ``fd`` is not a valid open file descriptor.