System.Posix.DynamicLinker.Module.ByteString

unix-2.6.0.1: POSIX functionality

Portability | non-portable (requires POSIX)
Stability | provisional
Maintainer | vs@foldr.org
Safe Haskell | Trustworthy

System.Posix.DynamicLinker.Module.ByteString

Description

DLOpen support, old API Derived from GModule.chs by M.Weber & M.Chakravarty which is part of c2hs I left the API more or less the same, mostly the flags are different.

# Documentation

data Module

moduleOpen :: RawFilePath -> [RTLDFlags] -> IO Module

moduleSymbol :: Module -> String -> IO (FunPtr a)

moduleClose :: Module -> IO ()

moduleError :: IO String

withModule :: Maybe String -> String -> [RTLDFlags] -> (Module -> IO a) -> IO a

withModule_ :: Maybe String -> String -> [RTLDFlags] -> (Module -> IO a) -> IO ()