5.10. request close()¶
request-close - Close a request file descriptor
int close(int fd)¶
File descriptor returned by ioctl MEDIA_IOC_REQUEST_ALLOC.
Closes the request file descriptor. Resources associated with the request are freed once all file descriptors associated with the request are closed and the driver has completed the request. See here for more information.
5.10.5. Return Value¶
close() returns 0 on success. On error, -1 is
errno is set appropriately. Possible error codes are:
fdis not a valid open file descriptor.