1 .. -*- coding: utf-8; mode: rst -*-
12 cec-close - Close a cec device
23 .. c:function:: int close( int fd )
30 File descriptor returned by :c:func:`open() <cec-open>`.
36 Closes the cec device. Resources associated with the file descriptor are
37 freed. The device configuration remain unchanged.
43 :c:func:`close() <cec-close>` returns 0 on success. On error, -1 is returned, and
44 ``errno`` is set appropriately. Possible error codes are:
47 ``fd`` is not a valid open file descriptor.