HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduleunix-2.8.7.0Haskell2010

System.Posix.DynamicLinker

Dynamic linker support through dlopen()

  • 7 values
  • Packageunix-2.8.7.0
  • Exports7
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceDynamicLinker.hsc
valuedlsym :: DL -> String -> IO (FunPtr a)
#

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

valueundl :: DL -> Ptr ()
#

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