Version française
Home     About     Download     Resources     Contact us    
Browse thread
Inotify binding
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: tab@s...
Subject: Inotify binding
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