package luv_unix

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val from_unix : Unix.file_descr -> (t, Error.t) result

Attempts to convert from a Unix.file_descr to a libuv uv_os_fd_t. Fails on Windows if the descriptor is a SOCKET rather than a HANDLE.

val to_unix : t -> Unix.file_descr

Converts a uv_os_fd_t to a Unix.file_descr.

OCaml

Innovation. Community. Security.