Default User wrote:
> What do you mean by "poll"? The only way using ANSI/ISO C is to either
> have an indicator in the file or to examine the entire file against a
> stored reference, either a copy of the file or the file contents stored
> in memory.
Well, one could also think about a checksum and/or the file length. Sure,
to make it simple and 100% working you have no choice, but to compare to
an internal copy or use POSIX.
/Sven
--
Sven Semmler
http://www.semmlerconsulting.com/
GPG Fingerprint: 72CA E26D C2A3 1FEB 7AFC 10EA F769 A9A4 937F 5E67