stat(2) question
Brian R. Bainter
brb at akgua.ATT.COM
Thu Oct 20 06:42:42 AEST 1988
If anyone could give me some help with this I would be most greatful.
The problem is this. I have a program which calls stat(2) once a second
to check the st_atime (time of last access) of a certain file. This works
fine until the file has been accessed by another program running at the
same time as my monitoring program. The access time actually gets changed,
but the st_atime value in the monitoring program never changes.
If anyone could give me some leads as to why this is happening, I would
be most greatful to the point of rewarding them with many attapersons.
Thanks in advance,
--
Brian R. Bainter KA7TXA
AT&T Technologies Atlanta Works
{cbosgd, gatech, ihnp4, moss, mtune, ulysses}akgua!brb
More information about the Comp.lang.c
mailing list