File: MemoryMap.hs

package info (click to toggle)
haskell-foundation 0.0.30-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 932 kB
  • sloc: haskell: 9,124; ansic: 570; makefile: 7
file content (18 lines) | stat: -rw-r--r-- 364 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{-# LANGUAGE CPP #-}
module Foundation.Foreign.MemoryMap
    ( fileMapRead
    , FileMapping(..)
    , fileMappingToFinalPtr
    ) where

import Foundation.Foreign.MemoryMap.Types
#ifdef mingw32_HOST_OS
import Foundation.Foreign.MemoryMap.Windows
#else
import Foundation.Foreign.MemoryMap.Posix
#endif

{-
fileMap :: Fd -> Int -> IO FileMap
fileMap = undefined
-}