diff options
author | ed <ed@FreeBSD.org> | 2009-11-06 07:17:31 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2009-11-06 07:17:31 +0000 |
commit | b38978f7902a3c12b4e958fa7159e29ea2d39d9a (patch) | |
tree | 83e094a8c866a30ad8e36f5bbff5d6cb5ceeead8 /lib | |
parent | 632be2941cd3f940b7f465970dfc8ae0e361d158 (diff) | |
download | FreeBSD-src-b38978f7902a3c12b4e958fa7159e29ea2d39d9a.zip FreeBSD-src-b38978f7902a3c12b4e958fa7159e29ea2d39d9a.tar.gz |
Add MAP_ANONYMOUS.
Many operating systems also provide MAP_ANONYMOUS. It's not hard to
support this ourselves, we'd better add it to make it more likely for
applications to work out of the box.
Reviewed by: alc (mman.h)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/mmap.2 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2 index e632748..4849973 100644 --- a/lib/libc/sys/mmap.2 +++ b/lib/libc/sys/mmap.2 @@ -28,7 +28,7 @@ .\" @(#)mmap.2 8.4 (Berkeley) 5/11/95 .\" $FreeBSD$ .\" -.Dd July 26, 2009 +.Dd November 6, 2009 .Dt MMAP 2 .Os .Sh NAME @@ -108,6 +108,10 @@ The argument is ignored. .\".It Dv MAP_FILE .\"Mapped from a regular file or character-special device memory. +.It Dv MAP_ANONYMOUS +This flag is identical to +.Dv MAP_ANON +and is provided for compatibility. .It Dv MAP_FIXED Do not permit the system to select a different address than the one specified. |