im_mmapinrw3
Memory maps a vasari image file with read and write access
Usage
#include <vips/vips.h>
IMAGE *im_mmapinrw(file_name)
char *file_name;
Overview
im_mmapinrw(3) works exactly as im_mmapin but the entered file_name is memory mapped with read and write permissions. This is useful for some applications, like writing lines onto an existing file. Since the user might change accidentally the context of the original file, great care should taken when handling a file with this routine.
im_open(3) is generally more convenient.
Return value
The function returns the image descriptor on success and NULL on error.
Releases
Unchanged in 4 releases since Debian 3.1 (Sarge).