struct stat.h with nanosecond resolution

Paul Eggert eggert@twinsun.com
Tue Dec 3 18:26:00 GMT 2002


> Date: Tue, 3 Dec 2002 13:25:39 -0800
> From: Roland McGrath <roland@redhat.com>

> In nonstandard mode [BSD uses] the names `st_mtimespec' et al rather than
> `st_mtim'.  I am guessing the latter names are used by Solaris or something?

Yes.  Also, GNU applications like Make and Coreutils currently check
for "st_mtim.tv_nsec" when configuring support for nanosecond
resolution, so it will make it a bit easier on the GNU app developers
if glibc uses the name "st_mtim" as well.

The BSD name "st_mtimespec" is news to me.  I guess GNU apps will have
to learn about it at some point.



More information about the Libc-alpha mailing list