Greetings,
Is there a fast and/or efficient way to determine if a file size has
changed without reopening the file every time? I'm writing a program that
needs to open a file and watch it to see when data gets written to the file
(from an external source or another part of the same program), then read
the data to process it. I was looking at stat() but I've read that it is a
high overhead function. Any insight would be greatly appreciated.
Thanks,
Matthew
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message