HORIZON HASKELLDocslts/ghc-10.0.xaa25b892026-10-10Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · aa25b89 · 2026-10-10

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