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.
Currently available download: