Updating status of a growing file without close/reopen
Suppose I open() a file on a *nix machine and I hit eof. But when I
open()ed it, it was still being written.
Is there a way to detect if the file has grown since open()-time? Or do I
need to close() and re-open() to check?
No comments:
Post a Comment