unix-errno

AuthorDavid Sheets
LicenseISC
Homepagehttps://github.com/dsheets/ocaml-unix-errno
Issue Trackerhttps://github.com/dsheets/ocaml-unix-errno/issues
Tagserrno, errno.h, errors, unix and syscall
Maintainersheets@alum.mit.edu
Dependencies
&alcotest
base-bytes
ctypes
ocamlbuild
ocamlfind
result
Optional dependencies
base-unix
Availableocaml-version >= "4.01.0"
PublishedJul 26, 2016
Source [http] https://github.com/dsheets/ocaml-unix-errno/archive/0.5.0.tar.gz
a67d42b86ac159b2f75d91b309117176
StatisticsNot installed in the last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/unix-errno/unix-errno.0.5.0/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.