package uwt

  1. Overview
  2. Docs
libuv bindings

Install

dune-project
 Dependency

Authors

Maintainers

Sources

uwt-0.3.0.2.tar.gz
sha256=1c4a49f4cffc017fff8a47563653f5a9ed4007bbd6705fd9737a211ff3d864e2
md5=25fbbf9b39c072f9667e6fdfba108556

doc/uwt.async/Uwt/Handle_fileno/index.html

Module Uwt.Handle_fileno

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