unix-2.4.0.2: POSIX functionalitySource codeContentsIndex
System.Posix.SharedMem
Portabilitynon-portable (requires POSIX)
Stabilityexperimental
Maintainerlibraries@haskell.org
Description
POSIX shared memory support.
Synopsis
data ShmOpenFlags = ShmOpenFlags {
shmReadWrite :: Bool
shmCreate :: Bool
shmExclusive :: Bool
shmTrunc :: Bool
}
shmOpen :: String -> ShmOpenFlags -> FileMode -> IO Fd
shmUnlink :: String -> IO ()
Documentation
data ShmOpenFlags Source
Constructors
ShmOpenFlags
shmReadWrite :: BoolIf true, open the shm object read-write rather than read-only.
shmCreate :: BoolIf true, create the shm object if it does not exist.
shmExclusive :: BoolIf true, throw an exception if the shm object already exists.
shmTrunc :: BoolIf true, wipe the contents of the shm object after opening it.
shmOpen :: String -> ShmOpenFlags -> FileMode -> IO FdSource
Open a shared memory object with the given name, flags, and mode.
shmUnlink :: String -> IO ()Source
Delete the shared memory object with the given name.
Produced by Haddock version 2.6.1