diff options
author | sobomax <sobomax@FreeBSD.org> | 2005-07-15 11:37:25 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2005-07-15 11:37:25 +0000 |
commit | 759020427718ed6983077f75bcf4c668593afddf (patch) | |
tree | 8a306fe2a5d4d3ad577f52ff9a6538ab373ed199 /lib/libc/sys/mmap.2 | |
parent | 98c7fd96bfa2d57f467d8bda4b59002c6aa28265 (diff) | |
download | FreeBSD-src-759020427718ed6983077f75bcf4c668593afddf.zip FreeBSD-src-759020427718ed6983077f75bcf4c668593afddf.tar.gz |
Document the fact that if MAP_FIXED request has been successful it
replaces any previous mapping to the same address.
Obtained from: IEEE Std 1003.1, 2004 Edition
Diffstat (limited to 'lib/libc/sys/mmap.2')
-rw-r--r-- | lib/libc/sys/mmap.2 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2 index 798396e..522c559 100644 --- a/lib/libc/sys/mmap.2 +++ b/lib/libc/sys/mmap.2 @@ -123,6 +123,13 @@ If is specified, .Fa addr must be a multiple of the pagesize. +If a MAP_FIXED request is successful, the mapping established by +.Fn mmap +replaces any previous mappings for the process' pages in the range from +.Fa addr +to +.Fa addr + +.Fa len . Use of this option is discouraged. .It Dv MAP_HASSEMAPHORE Notify the kernel that the region may contain semaphores and that special |