ocaml-posix
ocaml-posix copied to clipboard
Bindings to the various POSIX APIs
ocaml-posix
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-ctypes
-
posix-posix-socket
andposix-socket-unix
, replacing and extending sys-socket -
posix-time2
, replacing and extending posix-time and replacing unix-time and posix-clock -
posix-getopt
, replacing [posix-getopt]( https://github.com/toots/posix-getopt) -
posix-uname
-
posix-signal
API
The API documentation can be consulted here
How to build
dune install
How to install
Via opam
:
opam install .
Via dune
:
dune install
TODO
- Convert posix-mqueue
- Convert posix-semaphore
- Convert unix-sys-resource
- Convert unix-sys-stat