package uwt

  1. Overview
  2. Docs

The usage of fileno is unsafe and strongly discouraged. But it's sometimes necessary, if you need to interact with third parties libraries. Rules:

  • You must still keep your original handle around. Otherwise uwt will close the handle when the garbage collector removes it.
type t
val fileno : t -> Unix.file_descr uv_result
val fileno_exn : t -> Unix.file_descr
OCaml

Innovation. Community. Security.