unix-2.4.1.0: POSIX functionality

Portabilitynon-portable (requires POSIX)
Stabilityprovisional
Maintainervs@foldr.org

System.Posix.DynamicLinker

Description

Dynamic linker support through dlopen()

Synopsis

Documentation

module System.Posix.DynamicLinker.Prim

dlopen :: String -> [RTLDFlags] -> IO DL Source

dlsym :: DL -> String -> IO (FunPtr a)Source

dlsym returns the address binding of the symbol described in symbol, as it occurs in the shared object identified by source.

dlerror :: IO String Source

dlclose :: DL -> IO () Source

withDL :: String -> [RTLDFlags] -> (DL -> IO a) -> IO aSource

withDL_ :: String -> [RTLDFlags] -> (DL -> IO a) -> IO () Source

undl :: DL -> Ptr () Source

undl obtains the raw handle. You mustn't do something like withDL mod flags $ liftM undl >>= p -> use p

AltStyle によって変換されたページ (->オリジナル) /