[RFC 1/7] y2038: Introduce struct __timespec64
Joseph Myers
joseph@codesourcery.com
Wed Mar 27 13:41:00 GMT 2019
On Wed, 27 Mar 2019, Lukasz Majewski wrote:
> This type is a glibc's type similar to struct timespec
> but whose tv_sec field is a __time64_t rather than a time_t,
> which makes it Y2038-proof and usable to pass between user
> code and Y2038-proof kernel syscalls (e.g. clock_gettime()).
Could you please give a detailed explanation of why this needs to go in an
installed header, as opposed to purely in a glibc-internal header? (All
bits/ headers should be installed headers; the set of installed headers is
determined by the "headers" settings in makefiles. Since you're not
actually including this from the public time.h in this patch, only the
internal one, there doesn't seem to be a reason here for either the naming
or installing the header.)
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list