# 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 Source

moduleOpen :: String -> [RTLDFlags] -> IO Module Source

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

moduleClose :: Module -> IO ()Source

moduleError :: IO String Source

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

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