System.Posix.DynamicLinker.Module

unix-2.7.2.2: POSIX functionality

Copyright | (c) Volker Stolz <vs@foldr.org> 2003
License | BSD-style (see the file libraries/base/LICENSE)
Maintainer | vs@foldr.org
Stability | provisional
Portability | non-portable (requires POSIX)
Safe Haskell | Safe
Language | Haskell2010

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

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