1IM_MMAPINRW(3) Library Functions Manual IM_MMAPINRW(3)
2
3
4
6 im_mmapinrw - memory maps a VASARI image file with read and write
7 access
8
10 #include <vips/vips.h>
11
12 IMAGE *im_mmapinrw(file_name)
13 char *file_name;
14
16 im_mmapinrw(3) works exactly as im_mmapin but the entered file_name is
17 memory mapped with read and write permissions. This is useful for some
18 applications, like writing lines onto an existing file. Since the user
19 might change accidentally the context of the original file, great care
20 should taken when handling a file with this routine.
21
22 im_open(3) is generally more convenient.
23
25 The function returns the image descriptor on success and NULL on error.
26
28 im_close(3), im_open(3), im_makerw(3).
29
31 N. Dessipris
32
34 N. Dessipris - 11/04/1990
35
36
37
38 22 April 1991 IM_MMAPINRW(3)