v4l2-munmap — Unmap device memory
#include <unistd.h> #include <sys/mman.h>
int munmap( | void *start, |
size_t length); |
startAddress of the mapped buffer as returned by the
mmap() function.
lengthLength of the mapped buffer. This must be the same
value as given to mmap() and returned by the
driver in the struct v4l2_buffer length
field for the single-planar API and in the struct v4l2_plane
length field for the multi-planar API.