From b0306a795d1be19c3800760d069cb87da832f613 Mon Sep 17 00:00:00 2001 From: leitner Date: Mon, 7 Dec 2020 14:20:57 +0000 Subject: [PATCH] correct file open mode for mmap_private man page --- mmap/mmap_private.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmap/mmap_private.3 b/mmap/mmap_private.3 index 616d4bb..a949d3f 100644 --- a/mmap/mmap_private.3 +++ b/mmap/mmap_private.3 @@ -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); .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 to \fIfilesize\fR and returns a pointer to the mapped file.