[fpc-pascal] Watching for file change
henry.vermaak at gmail.com
Fri Apr 11 21:53:19 CEST 2014
On 11 Apr 2014 20:07, "Krzysztof" <dibo20 at wp.pl> wrote:
> Does FPC have some file watching solution? I need this only for linux.
> I need notifications:
> - File/folder changed / removed / added in watched directory. I have
> idea how to do this in thread loop but maybe FPC has OS solution
You can use the inotify* functions in linux unit. See the man pages or
Wikipedia for how they work.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal