G
glen herrmannsfeldt
Barry Margolin wrote:
(snip regarding side effects of fopen())
There is an additional effect with NFS that I believe is system
dependent, and that is whether the last access time is updated
from the client clock or the server clock.
Of course, the C standard doesn't say anything about that, either.
-- glen
(snip regarding side effects of fopen())
But it may only be updated if you actually read something from the file;
the act of opening the file in read mode might not update it (consider a
file on an NFS server -- there's nothing in NFS that corresponds to
open() or close(), the server only sees the directory lookup and the
read/write operations).
There is an additional effect with NFS that I believe is system
dependent, and that is whether the last access time is updated
from the client clock or the server clock.
Of course, the C standard doesn't say anything about that, either.
-- glen