unix-2.6.0.0: POSIX functionality

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

System.Posix.DynamicLinker.Prim

Contents

Description

DLOpen and friend 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.

Synopsis

low level API

c_dlopen :: CString -> CInt -> IO (Ptr ())

c_dlsym :: Ptr () -> CString -> IO (FunPtr a)

c_dlclose :: Ptr () -> IO CInt

packDL :: DL -> Ptr ()

data DL

Flags for dlsym. Notice that Next might not be available on your particular platform!

Constructors

Null 
Next 
Default 
DLHandle (Ptr ()) 

Instances