Module Luv.DLL
Dynamic linking.
See Shared library handling in libuv.
type t
Binds
uv_lib_t
.
val open_ : string -> t option
Loads a shared library.
Binds
uv_dlopen
. Seedlopen(3p)
.Evaluates to
None
on failure. In that case, callLuv.DLL
.last_error to get the error message.
val close : t -> unit
Closes a shared library.
Binds
uv_dlclose
. Seedlclose(3p)
.
val sym : t -> string -> nativeint option
Loads a symbol from a shared library.
Binds
uv_dlsym
. Seedlsym(3p)
.Evaluates to
None
on failure. In that case, callLuv.DLL
.last_error to get the error message.
val error : t -> string
Retrieves the last error message from
Luv.DLL.open_
orLuv.DLL.sym
.Binds
uv_dlerror
. Seedlerror(3p)
.