1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 v4l2-close - Close a V4L2 device
22 .. c:function:: int close( int fd )
28 File descriptor returned by :c:func:`open()`.
33 Closes the device. Any I/O in progress is terminated and resources
34 associated with the file descriptor are freed. However data format
35 parameters, current input or output, control values or other properties
41 The function returns 0 on success, -1 on failure and the ``errno`` is
42 set appropriately. Possible error codes:
45 ``fd`` is not a valid open file descriptor.