On 11 Apr 2014 20:07, "Krzysztof" <dib...@wp.pl> wrote:
>
> Hi,
>
> 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.

Henry
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to