8
8
Maintainer: Gracjan Polak <gracjanpolak@gmail.com>
9
9
Synopsis: Memory mapped files for POSIX and Windows
11
This library provides a wrapper to mmap(2) or MapViewOfFile,
12
allowing files or devices to be lazily loaded into memory as
13
strict or lazy ByteStrings, ForeignPtrs or plain Ptrs, using
14
the virtual memory subsystem to do on-demand loading.
11
This library provides a wrapper to mmap(2) or MapViewOfFile,
12
allowing files or devices to be lazily loaded into memory as
13
strict or lazy ByteStrings, ForeignPtrs or plain Ptrs, using
14
the virtual memory subsystem to do on-demand loading.
15
15
Modifications are also supported.
16
16
Cabal-version: >= 1.2
19
Extra-Source-Files: cbits/HsMmap.h
22
Description: Generate mmaptest executable
21
26
Build-depends: base<5, bytestring
22
27
Extensions: ForeignFunctionInterface
23
28
Exposed-modules: System.IO.MMap
27
C-sources: cbits/win32.c
32
C-sources: cbits/win32.c
34
C-sources: cbits/posix.c
37
Main-is: tests/mmaptest.hs
42
Build-depends: base<5, bytestring, HUnit, directory
43
Extensions: ForeignFunctionInterface, ScopedTypeVariables, CPP
45
CC-options: -Wall -D_DEBUG
48
cpp-options: -DWINDOWS
49
C-sources: cbits/win32.c
29
52
C-sources: cbits/posix.c