package luv

  1. Overview
  2. Docs
Binding to libuv: cross-platform asynchronous I/O

Install

dune-project
 Dependency

Authors

Maintainers

Sources

luv-0.5.10.tar.gz
sha256=174bf051334b5788ecb7bde0a712f59b3e90deb2748e45b4a36f9b16408ecf7f
md5=583feee83bd0ff577ca8c59c3408b413

doc/luv/Luv/DLL/index.html

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.last_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.last_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.