diff options
author | alc <alc@FreeBSD.org> | 2008-10-24 14:40:13 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2008-10-24 14:40:13 +0000 |
commit | 788640b731ab28f45d3996346a127ffafa83ae71 (patch) | |
tree | f03ba7749b4c78f677110b085badb37c82b5be28 /lib/libc/sys | |
parent | e0996986ab4b722fe9d1a8f5452b17668b862aff (diff) | |
download | FreeBSD-src-788640b731ab28f45d3996346a127ffafa83ae71.zip FreeBSD-src-788640b731ab28f45d3996346a127ffafa83ae71.tar.gz |
Finish what revision 1.40 started. Revision 1.40 removed a false statement
from the description but not the errors section. This revision removes it
from the errors statement.
Add a statement about the non-portability of non-page-aligned offsets.
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/mmap.2 | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2 index da31179..196d6ae 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 April 21, 2006 +.Dd October 24, 2008 .Dt MMAP 2 .Os .Sh NAME @@ -252,6 +252,11 @@ In the future we may define an additional mapping type, in which the file descriptor argument specifies a file or device to which swapping should be done. +.Sh NOTES +Although this implementation does not impose any alignment restrictions on +the +.Fa offset +argument, a portable program must only use page-aligned values. .Sh RETURN VALUES Upon successful completion, .Fn mmap @@ -307,13 +312,6 @@ was negative. was specified and the .Fa fd argument was not -1. -The -.Fa offset -argument -was not page-aligned. -(See -.Sx BUGS -below.) .It Bq Er ENODEV .Dv MAP_ANON has not been specified and |