System.Posix.DynamicLinker.Module

unix-2.4.2.0: POSIX functionality

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

System.Posix.DynamicLinker.Module

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 :: String -> [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 ()