Wiki source for MemoryMappedFiles


Show raw source

The mmap library is a simple implementation of memory mapped files for OS/2.

It has been developed to support ClamAV backends. The code is not complete, it implements only the minimal features required by ClamAV engine.

This code uses the WorkPlace Shell Toolkit library for mmap emulation, and it is just a wrapper around WPSTK mmf functions.

Currently it supports only private files (MAP_PRIVATE), with PROT_READ/PROT_WRITE/PROT_READWRITE access. The library is provided as static library, and requires pthread.lib for full linking of applications.
Now also MAP_ANON is supported.

**Download:**
Currently available download:
- [[http://web.os2power.com/download/lib/mmap-20090727-os2.zip mmap sources and library]] for gcc 4.3.2.
- [[http://web.os2power.com/download/lib/mmap-20090727-os2-debug.zip mmap sources and library]] for gcc 4.3.2 debug build.

Additional requirements:
- gcc 3.3.5 from [[ftp://ftp.netlabs.org/pub/gcc/ Netlabs.org]].
- gcc 4.3.2 from [[http://os2ports.smedley.info/index.php?page=gcc Paul Smedley's site]].
- [[http://wpstk.netlabs.org/ WorkPlace Shell Toolkit]] 1.6.0.

----
==Categories==
CategorySoftware CategoryLibraries
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki