unix-2.6.0.0: POSIX functionality

Portabilitynon-portable (requires POSIX)
Stabilityexperimental
Maintainerlibraries@haskell.org
Safe HaskellTrustworthy

System.Posix.SharedMem

Description

POSIX shared memory support.

Synopsis

Documentation

data ShmOpenFlags Source

Constructors

ShmOpenFlags 

Fields

shmReadWrite :: Bool

If true, open the shm object read-write rather than read-only.

shmCreate :: Bool

If true, create the shm object if it does not exist.

shmExclusive :: Bool

If true, throw an exception if the shm object already exists.

shmTrunc :: Bool

If 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.