package luv

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

Install

Dune Dependency

Authors

Maintainers

Sources

luv-0.5.9.tar.gz
sha256=a2fa91083bc71ce2ee70710d8f9d9b3635620774e5a917ec72b696fd36127b2d
md5=e19f39296b426215e0c21d3a7f8fe272

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.