This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: struct stat.h with nanosecond resolution
- From: "Paul Eggert" <eggert at twinsun dot com>
- To: libc-alpha at sources dot redhat dot com
- Date: Tue, 3 Dec 2002 18:26:20 -0800
- Subject: Re: struct stat.h with nanosecond resolution
- References: <200212032125.gB3LPdJ02740@magilla.sf.frob.com>
> 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.