unix-errno

Author David Sheets
License ISC
Homepage https://github.com/dsheets/ocaml-unix-errno
Issue Tracker https://github.com/dsheets/ocaml-unix-errno/issues
Tags { errno, errno.h, errors, unix, syscall }
Maintainer sheets@alum.mit.edu
Dependencies
& alcotest
base-bytes
ctypes
ocamlbuild
ocamlfind
result
Optional dependencies
base-unix
Available ocaml-version >= "4.01.0"
Published Jan 20, 2017
Source [http] http://github.com/dsheets/ocaml-unix-errno/archive/0.5.2.tar.gz
5ff82d862b0481a4ce2d269767694178
Statistics Installed 11 times in last month.
Edit https://github.com/ocaml/opam-repository/tree/master/packages/unix-errno/unix-errno.0.5.2/opam

Unix errno types, maps, and support

unix-errno can be used with or without ctypes and OCaml's Unix module. Without ctypes and Unix, the basic types and functions are provided as well as Errno_host containing errno maps for popular operating systems. The errno-srcgen tool for generating OCaml source representing Errno.Host.t values will also be built. With ctypes and Unix, you'll also receive the errno-map tool for outputting the current host's errno map and the Errno_unix module containing an errno global variable checking function and Unix.error type converters.