https://github.com/dsheets/ocaml-unix-unistd
Host-dependent UNIX unistd.h access
https://github.com/dsheets/ocaml-unix-unistd
Last synced: about 1 year ago
JSON representation
Host-dependent UNIX unistd.h access
- Host: GitHub
- URL: https://github.com/dsheets/ocaml-unix-unistd
- Owner: dsheets
- License: isc
- Created: 2013-11-11T16:49:43.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2017-05-18T10:55:57.000Z (about 9 years ago)
- Last Synced: 2025-03-24T08:02:04.199Z (over 1 year ago)
- Language: OCaml
- Size: 60.5 KB
- Stars: 12
- Watchers: 6
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES
- License: LICENSE
Awesome Lists containing this project
README
ocaml-unix-unistd
=================
[ocaml-unix-unistd](https://github.com/dsheets/ocaml-unix-unistd) provides
access to the features exposed in [`unistd.h`][unistd.h] in a way that is not
tied to the implementation on the host system.
The [`Unistd`][unistd] module provides functions for translating between the
constants accessible through `unistd.h` and their values on particular
systems.
The [`Unistd_unix`][unistd_unix] module provides bindings to functions that
use the constants and types in `Unistd` along with a representation of the
host system. The bindings support a more comprehensive range of seek commands
than the corresponding functions in the standard OCaml `Unix` module. The
[`Unistd_unix_lwt`][unistd_unix_lwt] module exports non-blocking versions of
the functions in `Unistd_unix` based on the [Lwt][lwt] cooperative threading
library.
[unistd.h]: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/unistd.h.html
[unistd]: https://github.com/dsheets/ocaml-unix-unistd/blob/master/lib/unistd.mli
[unistd_unix]: https://github.com/dsheets/ocaml-unix-unistd/blob/master/unix/unistd_unix.mli
[unistd_unix_lwt]: https://github.com/dsheets/ocaml-unix-unistd/blob/master/lwt/unistd_unix_lwt.mli
[lwt]: http://ocsigen.org/lwt/