On Sun, 16 Dec 2012, Marco van de Voort wrote:
In our previous episode, Michael Van Canneyt said:
The inotify calls are available on Linux. It tells you when a file/folder
changes:
function inotify_init: cint;
function inotify_init1(flags:cint):cint;
function inotify_add_watch(fd:cint; name:Pchar; mask:cuint32):cint;
These calls are available in the linux unit. I have an article that describes
how it works, if you want.
There is a similar mechanism on windows, but I haven't had time to look at it
yet:
I wanted to make a unified architecture for this kind of things.
I think Ales was at some point working on having a common kevent +inotify
support unit. (Kevent is the OSX/BSD variant)
Really ? Maybe it could be added to the fcl-base ?
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal