http://qs321.pair.com?node_id=464299


in reply to Reopen file when contents changed?

AFAIK you can just seek to the beginning and re-read, and the OS should take care that you get up-to-date data. (On *NIX systems)