utime misusage

Doug Gwyn <gwyn> gwyn at brl-tgr.ARPA
Fri Nov 30 16:05:13 AEST 1984

> Using the address of the st_atime field of a stat(2) struct would
> provide these values correctly, because the word following st_atime in
> the structure is st_mtime (the mod. time).

Wrong.  Not only is this not promised, but on 4.2BSD it is not true.

More information about the Comp.lang.c mailing list