find

Dave Decot decot at hpisod2.HP.COM
Thu Dec 14 08:39:08 AEST 1989


> In article <21727 at adm.BRL.MIL> drears at pica.army.mil
> (Dennis G. Rears (FSAC)) writes:
> >atime - The last time the file was read or modified.  The system
> >calls creat(2), mknod(2), utimes(2), read(2), and write(2) will affect the
> >atime value.
> 
> Some editions of stat(2) make this claim.  They are wrong.  (The man
> page is fixed in 4.4BSD, and might be fixed in 4.3 and/or 4.3-tahoe.)
> Namely, read(2) should be deleted to correct the list.

But it's not complete.  For instance, the system call open() affects
atime.

Note also that POSIX.1-1988 requires (on page 112 of the softcover book)
the read() function to mark the st_atime field for update.

Dave



More information about the Comp.unix.questions mailing list