Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!apple!sun-barr!decwrl!ucbvax!hplabs!hpda!hpcupt1!hpisod2!decot From: decot@hpisod2.HP.COM (Dave Decot) Newsgroups: comp.unix.questions Subject: Re: find Message-ID: <10650073@hpisod2.HP.COM> Date: 13 Dec 89 21:39:08 GMT References: <21721@adm.BRL.MIL> Organization: Hewlett Packard, Cupertino Lines: 17 > In article <21727@adm.BRL.MIL> drears@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