package luv

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Luv.DLLSource

Dynamic linking.

See Shared library handling in libuv.

Sourcetype t

Binds uv_lib_t.

Sourceval open_ : string -> t option

Loads a shared library.

Binds uv_dlopen. See dlopen(3p).

Evaluates to None on failure. In that case, call Luv.DLL.error to get the error message.

Sourceval close : t -> unit

Closes a shared library.

Binds uv_dlclose. See dlclose(3p).

Sourceval sym : t -> string -> nativeint option

Loads a symbol from a shared library.

Binds uv_dlsym. See dlsym(3p).

Evaluates to None on failure. In that case, call Luv.DLL.error to get the error message.

Sourceval error : t -> string

Retrieves the last error message from Luv.DLL.open_ or Luv.DLL.sym.

Binds uv_dlerror. See dlerror(3p).

OCaml

Innovation. Community. Security.