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"
PublishedJan 20, 2017
Source [http] https://github.com/dsheets/ocaml-unix-errno/archive/0.5.2.tar.gz
5ff82d862b0481a4ce2d269767694178
StatisticsInstalled 9 times last month.
Edithttps://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.