[fpc-pascal] Indexing files

Michael Van Canneyt michael at freepascal.org
Sun Dec 16 18:34:33 CET 2012



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.



More information about the fpc-pascal mailing list