HORIZON HASKELLDocslts/ghc-9.14.xb2f3bfd2026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · b2f3bfd · 2026-10-11

Moduleunix-2.8.8.0Haskell2010

System.Posix.DynamicLinker.ByteString

Dynamic linker support through dlopen()

  • 7 values
  • Packageunix-2.8.8.0
  • Exports7
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceByteString.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