Update.
authorAndreas Jaeger <aj@suse.de>
Wed, 6 Jun 2001 19:02:01 +0000 (19:02 +0000)
committerAndreas Jaeger <aj@suse.de>
Wed, 6 Jun 2001 19:02:01 +0000 (19:02 +0000)
2001-06-06  Andreas Jaeger  <aj@suse.de>

* manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
offset+length-1.
Reported by Robert Bernecky <bernecky@acm.org>.

ChangeLog
manual/llio.texi

index 6b571cd..7da959f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-06-06  Andreas Jaeger  <aj@suse.de>
+
+       * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
+       offset+length-1.
+       Reported by Robert Bernecky <bernecky@acm.org>.
+
 2001-06-06  Jakub Jelinek  <jakub@redhat.com>
 
        * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
index c45285b..ea72e95 100644 (file)
@@ -1152,7 +1152,7 @@ These functions are declared in @file{sys/mman.h}.
 @deftypefun {void *} mmap (void *@var{address}, size_t @var{length},int @var{protect}, int @var{flags}, int @var{filedes}, off_t @var{offset})
 
 The @code{mmap} function creates a new mapping, connected to bytes
-(@var{offset}) to (@var{offset} + @var{length}) in the file open on
+(@var{offset}) to (@var{offset} + @var{length} - 1) in the file open on
 @var{filedes}.
 
 @var{address} gives a preferred starting address for the mapping.