struct stat.h with nanosecond resolution

Ulrich Drepper drepper@redhat.com
Tue Dec 3 01:57:00 GMT 2002


Andreas Jaeger wrote:

> This will not work since it clashes with struct timeval which is
> defined as:

It just means we'll have to rename the members of timeval as well.


> Do we really need to rename the members of struct __timespec also?

Yes, it's necessary.  <sys/stat.h> does not allow any symbols with the
prefix tv_* to be defined.

-- 
--------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------



More information about the Libc-alpha mailing list