about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-06-06 19:02:01 +0000
committerAndreas Jaeger <aj@suse.de>2001-06-06 19:02:01 +0000
commitb73147d0eb348ca350fa7ec80e731841013fe348 (patch)
tree967f3eadb469e4cb9bdde5ee095332563c758e63
parentd1cf3e71726808cf249ee361d8d47c8affd9e429 (diff)
downloadglibc-b73147d0eb348ca350fa7ec80e731841013fe348.tar.gz
glibc-b73147d0eb348ca350fa7ec80e731841013fe348.tar.xz
glibc-b73147d0eb348ca350fa7ec80e731841013fe348.zip
Update.
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>.
-rw-r--r--ChangeLog6
-rw-r--r--manual/llio.texi2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6b571cd976..7da959ff83 100644
--- 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.
diff --git a/manual/llio.texi b/manual/llio.texi
index c45285ba91..ea72e955e3 100644
--- a/manual/llio.texi
+++ b/manual/llio.texi
@@ -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.