unix-errno

AuthorDavid Sheets <sheets@alum.mit.edu>
LicenseISC
Homepagehttps://github.com/dsheets/ocaml-unix-errno
Issue Trackerhttps://github.com/dsheets/ocaml-unix-errno/issues
Maintainersheets@alum.mit.edu
Dependencies
&ctypes>= 0.4.0&0.6.0
ocamlbuild
ocamlfind
rresult
PublishedOct 1, 2015
Source [http] https://github.com/dsheets/ocaml-unix-errno/archive/0.2.0.tar.gz
afda858f0936c37043c1f6fce04cf315
StatisticsInstalled 2 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/unix-errno/unix-errno.0.2.0/opam

Unix errno types, maps, and support

unix-errno provides an errno variant similar to Unix.error but including POSIX 2008 and Linux-specific constructors. A macro definition type, defns is also provided in order to transport a specific errno-integer map as is the case with FUSE. The types and their functions reside in Errno and are independent of any Unix bindings. This makes the library's types usable from MirageOS on top of Xen. Errno_unix provides maps to and from Unix.error, the present host's errno map, an errno exception Error, and higher-order errno checking functions.