package unix-type-representations

  1. Overview
  2. Docs
Functions that expose the underlying types of some abstract types in the Unix module.

Install

Dune Dependency

Authors

Maintainers

Sources

0.1.1.tar.gz
sha256=49f249ca1ceea4cc0e3fb6381aee94bd51178dcdc14fc5682b99e897e1cc2335
md5=e78a1b4e08ff39a3698e6e30a829aff9

doc/unix-type-representations/Unix_representations/index.html

Module Unix_representations

val nativeint_of_dir_handle : Unix.dir_handle -> nativeint

Retrieve the DIR pointer underlying a Unix.dir_handle value

val dir_handle_of_nativeint : nativeint -> Unix.dir_handle

Build a Unix.dir_handle value from a DIR pointer.

val int_of_file_descr : Unix.file_descr -> int

Convert a Unix.file_descr to an int.

val file_descr_of_int : int -> Unix.file_descr

Convert an int to a Unix.file_descr.

OCaml

Innovation. Community. Security.