Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2010 15:20:30 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r206601 - stable/7/lib/libc/sys
Message-ID:  <201004141520.o3EFKUpe009347@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Wed Apr 14 15:20:30 2010
New Revision: 206601
URL: http://svn.freebsd.org/changeset/base/206601

Log:
  MFC 184226:
  Add a statement about the non-portability of non-page-aligned offsets.

Modified:
  stable/7/lib/libc/sys/mmap.2
Directory Properties:
  stable/7/lib/libc/   (props changed)
  stable/7/lib/libc/stdtime/   (props changed)

Modified: stable/7/lib/libc/sys/mmap.2
==============================================================================
--- stable/7/lib/libc/sys/mmap.2	Wed Apr 14 15:03:58 2010	(r206600)
+++ stable/7/lib/libc/sys/mmap.2	Wed Apr 14 15:20:30 2010	(r206601)
@@ -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 additiona
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004141520.o3EFKUpe009347>