Print this page
6607 add default MAP_FILE symbol to sys/mman.h
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
@@ -136,11 +136,18 @@
MAP_32BIT
Map to the lower 32 bits of address space.
+ MAP_FILE
+ Map a regular file. This is the default behavior;
+ specifying this flag is not required. It is provided
+ for compatibility with other systems and should not be
+ included in new code.
+
+
The MAP_SHARED and MAP_PRIVATE options describe the disposition of
write references to the underlying object. If MAP_SHARED is specified,
write references will change the memory object. If MAP_PRIVATE is
specified, the initial write reference will create a private copy of
the memory object page and redirect the mapping to the copy. The
@@ -609,6 +616,6 @@
msync(3C), plock(3C), sysconf(3C), attributes(5), lf64(5),
standards(5), null(7D), zero(7D)
- April 9, 2016 MMAP(2)
+ August 29, 2016 MMAP(2)