> Date: Wed, 12 Nov 2014 01:59:13 +0800 > From: Chaos Eternal <chaoseter...@shlug.org> > > and it is not very portable. > > > On Wed, Nov 12, 2014 at 1:55 AM, Chaos Eternal <chaoseter...@shlug.org> wrote: > > i wrote a FFI to inotify system call. > > > > https://github.com/ChaosEternal/guile-inotify2 > > > > procedures: > > * inotify-init > > * inotify-init1 > > * inotify-add-watch > > * inotify-rm-watch > > * inotify-read-port > > > > the errno handle is unreliable, use with caution. > > > > License: LGPL v3
Why not use the glib file monitoring instead? It is much more portable, and has an inotify back-end AFAIK.