From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 0F96EBC0B for ; Tue, 21 Nov 2006 21:18:41 +0100 (CET) Received: from hades.snarc.org (hades.snarc.org [212.85.152.11]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id kALKIekX011262 for ; Tue, 21 Nov 2006 21:18:40 +0100 Received: by hades.snarc.org (Postfix, from userid 1000) id A95891B482; Tue, 21 Nov 2006 21:18:34 +0100 (CET) Date: Tue, 21 Nov 2006 21:18:34 +0100 To: caml-list@yquem.inria.fr Subject: Inotify binding Message-ID: <20061121201834.GA25644@snarc.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Warning: Email may contain unsmilyfied humor and/or satire. User-Agent: Mutt/1.5.13 (2006-08-11) From: tab@snarc.org (Vincent Hanquez) X-Miltered: at discorde with ID 45635F20.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; bindings:01 ocaml:01 ocaml:01 usr:01 cheers:01 glibc:01 glibc:01 tar:01 binding:02 sys:03 aka:04 interface:05 linux:06 vincent:07 vincent:07 Hi, I've made a small bindings for inotify, aka linux file system notification new subsystem. It's available here: http://tab.snarc.org/projects/ocaml_inotify/ or the archive is directly here: http://tab.snarc.org/download/ocaml/ocaml_inotify-0.2.tar.bz2 You need a really recent glibc to have inotify syscall available through /usr/include/sys/inotify.h. I didn't bother putting some code to handle old glibc, but I accept patch :) The archive contains an example program on how to use the interface. Cheers, -- Vincent Hanquez