From: ygrek <ygrekheretix@gmail.com>
To: caml-list@inria.fr
Subject: [ANN] ocaml-extunix 0.0.1 released
Date: Sun, 7 Nov 2010 17:23:15 +0200 [thread overview]
Message-ID: <20101107172315.e1af9b38.ygrekheretix@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1945 bytes --]
Hello,
I am glad to announce the first release of ExtUnix - extended Unix
module. This is a preliminary alpha release, some API may change (based
on your feedback). Implemented bindings :
* fsync fdatasync
* eventfd signalfd
* statvfs fstatvfs
* dirfd openat unlinkat fstatat
* uname
* fadvise fallocate
* ttyname setpgid getpgid setreuid setregid
* realpath
* some ioctls
This release would have been much less interesting without the major
contributions by Sylvain Le Gall, Stéphane Glondu and Kaustuv Chaudhuri.
Get it at https://forge.ocamlcore.org/frs/?group_id=175
Homepage:
http://extunix.forge.ocamlcore.org/
Get source code:
git clone http://git.ocamlcore.org/extunix/extunix.git/
Browse source code:
http://git.ocamlcore.org/cgi-bin/gitweb.cgi?p=extunix/extunix.git;a=summary
ExtUnix aims to collect thin bindings to various low-level system API
in one library with consistent interface. Project guidelines (verbatim from README):
http://git.ocamlcore.org/cgi-bin/gitweb.cgi?p=extunix/extunix.git;a=blob_plain;f=README.txt;hb=HEAD
For OCaml programming style, we follow Unix module:
* Values and types should be named by the name of the underlying C function
* Raise Unix_error on runtime errors
* Uniformly raise Not_available exception for functions not available on the
current platform
* Be MT friendly by default - i.e. release runtime lock for blocking
operations, (FIXME) optionally provide ST variants
Portability:
* No shell scripting for build and install (think windows :) )
* Write portable C code (use compiler options to catch compatibility issues),
NB: msvc doesn't support C99.
* Provide module (ExtUnix.Specific) exposing only functions available on the
platform where library is built - i.e. guaranteed to not throw
Not_available exception (experimental).
[Generated by human]
--
ygrek
http://ygrek.org.ua
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
reply other threads:[~2010-11-07 15:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101107172315.e1af9b38.ygrekheretix@gmail.com \
--to=ygrekheretix@gmail.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox