Re: Detecting file changes



Sagaert Johan wrote:
Hi

Is there a way an application can get informed when a file has been changed
or (re)written ?
(something similar exists on Win32 )

Johan


You are looking for fam. From the man page:

DESCRIPTION
FAM, the File Alteration Monitor, is a subsystem that applications can
use to be notified when specific files or directories are changed. It
is intended as a replacement for mechanisms such as poll and select.
.



Relevant Pages

  • Re: How to implement yield thread
    ... multi-threaded, fully deterministic, and it works very well in Linux & ... Win32. ... This is a standard technique ... to turn a "can only block for or poll" event into a "can sensibly wait ...
    (comp.os.linux.development.apps)
  • Re: Delphi 2005 Win32 development stopped
    ... > I suggest we have a poll to see who can correctly guess what new Win32 ... > enhancements will be in DeXter and explain how they will be ...
    (borland.public.delphi.non-technical)
  • Re: Delphi 2005 Win32 development stopped
    ... > I suggest we have a poll to see who can correctly guess what new Win32 ... > enhancements will be in DeXter *and* explain how they will be ...
    (borland.public.delphi.non-technical)