man-pages/man-pages-2.41-mmap.patch

21 lines
729 B
Diff
Raw Normal View History

2006-10-20 11:18:38 +00:00
--- man-pages-2.41/man2/mmap.2.pom 2006-10-20 10:43:21.000000000 +0200
+++ man-pages-2.41/man2/mmap.2 2006-10-20 13:03:25.000000000 +0200
@@ -249,9 +249,15 @@
when the process is terminated. On the other hand, closing the file
descriptor does not unmap the region.
.LP
-The address
+If
+.B MAP_FIXED
+is specified,
.I start
-must be a multiple of the page size. All pages containing a part
+must be a multiple of the page size.
+In all other cases
+.I start
+address is rounded up to the next page size boundary.
+All pages containing a part
of the indicated range are unmapped, and subsequent references
to these pages will generate SIGSEGV. It is not an error if the
indicated range does not contain any mapped pages.