[fpc-pascal] Indexing files

Tomas Hajny XHajT03 at hajny.biz
Sun Dec 16 19:50:58 CET 2012


On 16 Dec 12, at 18:34, Michael Van Canneyt wrote:
> 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 ?

If so, make sure to make it a separate unit and enable this unit in 
fpmake.pp for the supported targets only, because I don't think that 
such a functionality exists for OS/2 (not even mentioning other 
targets supporting fcl-base like go32v2)...

Tomas




More information about the fpc-pascal mailing list