correct file open mode for mmap_private man page

master
leitner 4 years ago
parent cf69bb3ac1
commit b0306a795d

@ -6,7 +6,7 @@ mmap_private \- memory map a file for reading and writing
char* \fBmmap_private\fP(const char* \fIfilename\fR,size_t* \fIfilesize\fR); char* \fBmmap_private\fP(const char* \fIfilename\fR,size_t* \fIfilesize\fR);
.SH DESCRIPTION .SH DESCRIPTION
mmap_private opens \fIfilename\fR for reading and writing, maps the mmap_private opens \fIfilename\fR for reading, maps the
whole file into memory, closes the file, writes the length of the file whole file into memory, closes the file, writes the length of the file
to \fIfilesize\fR and returns a pointer to the mapped file. to \fIfilesize\fR and returns a pointer to the mapped file.

Loading…
Cancel
Save