[Python-checkins] python/dist/src/Doc/lib libmmap.tex,1.10,1.11
loewis at users.sourceforge.net
loewis at users.sourceforge.net
Thu Mar 3 12:23:13 CET 2005
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12697/Doc/lib
Modified Files:
libmmap.tex
Log Message:
Patches #749830, #1144555: allow UNIX mmap size to default to current
file size.
Index: libmmap.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libmmap.tex,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- libmmap.tex 19 Jan 2005 03:39:16 -0000 1.10
+++ libmmap.tex 3 Mar 2005 11:22:41 -0000 1.11
@@ -62,8 +62,10 @@
prot\optional{, access}}}}
\strong{(\UNIX{} version)} Maps \var{length} bytes from the file
specified by the file descriptor \var{fileno}, and returns a mmap
- object.
-
+ object. If \var{length} is \code{0}, the maximum length of the map
+ will be the current size of the file when \function{mmap(} is
+ called.
+
\var{flags} specifies the nature of the mapping.
\constant{MAP_PRIVATE} creates a private copy-on-write mapping, so
changes to the contents of the mmap object will be private to this
More information about the Python-checkins
mailing list