From 375efb32b274d134db753d1550e7bafcfac44c6e Mon Sep 17 00:00:00 2001 From: guy Decoux Date: Sat, 28 Feb 2009 20:04:27 +0100 Subject: mmap-0.1.2 --- mmap.html | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) (limited to 'mmap.html') diff --git a/mmap.html b/mmap.html index a0fb98f..eaac054 100644 --- a/mmap.html +++ b/mmap.html @@ -31,6 +31,13 @@ Object

Class Methods

+
lockall(flag) +
+

+disable paging of all pages mapped. flag can be +Mmap::MCL_CURRENT or Mmap::MCL_FUTURE +

+
new(file, [mode [, protection [, options]]])

@@ -42,7 +49,8 @@ create a new object

-Pathname of the file +Pathname of the file, if nil is given an anonymous map +is created Mmanp::MAP_ANON

mode @@ -114,6 +122,12 @@ The type of the access (see #madvise)
+
unlockall +
+

+reenable paging +

+

Methods

@@ -138,6 +152,12 @@ add count bytes to the file (i.e. pre-extend the file) change the mode, value must be "r", "w" or "rw"

+
mlock +
+

+disable paging +

+
msync
flush
@@ -145,6 +165,12 @@ change the mode, value must be "r", "w" or "rw" flush the file

+
munlock +
+

+reenable paging +

+
munmap

-- cgit v1.2.3