Ocaml-posix provides various bindings to POSIX APIS.
Each package consists of a low-level APIs to be used with ocaml-ctypes and high-level APIs that can be used in OCaml projects.
The purpose of this repository is to aggregate all existing POSIX bindings into a single, consistent umbrella.
Currently, it contains:
posix-types, replacing and extending ocaml-posix-types as well as PosixTypes fromocaml-ctypesposix-errno, replacing and extending unix-unix-errnoposix-posix-socketandposix-socket-unix, replacing and extending sys-socketposix-time2, replacing and extending posix-time and replacing unix-time and posix-clockposix-getopt, replacing posix-getoptposix-unameposix-unistd: Bindings for posixunistd.hfunctionsposix-resource, replacing and extending unix-sys-resourceposix-signalposix-stat, replacing and extending unix-sys-statposix-math2
The API documentation can be consulted here
dune install
Via opam:
opam install .
Via dune:
dune install
- Convert posix-mqueue
- Convert posix-semaphore