struct stat.h with nanosecond resolution
Andi Kleen
ak@suse.de
Mon Dec 2 02:58:00 GMT 2002
On Mon, Dec 02, 2002 at 02:55:17AM -0800, Ulrich Drepper wrote:
> Andi Kleen wrote:
>
> > Solaris makes it conditional on _XOPEN_SOURCE || _POSIX_SOURCE
> >
> > (struct timespec if these are not defined, otherwise _timespec)
> >
> > Probably a good idea, to keep maximum type compatibility.
>
>
> No, this is nonsense. There is absolutely no need for any #ifdef.
>
> Use __timespec_t.
Just will it be assignment compatible then with struct timespec ?
-Andi
More information about the Libc-alpha
mailing list