[PATCH v3] Y2038: add function __localtime64
Joseph Myers
joseph@codesourcery.com
Thu Dec 13 03:29:00 GMT 2018
On Wed, 12 Dec 2018, Albert ARIBAUD (3ADEV) wrote:
> +In these configurations, time-related types only have a 64-bit
> +declaration; and time-related functions only have one 64-bit definition.
> +However, for every @code{time_t}-related symbol, there is a
> +corresponding @code{__time64_t}-related macro, the name of which is
> +derived as in the dual-time configuration case, and which expands to
> +the symbol's name. For instance, the macro @code{__clock_gettime64}
> +expands to @code{clock_gettime}.
I think this should say explicitly that these macros are purely internal
(visible when glibc is built, but not to users of glibc), and that they
exist so that a single definition of the 64-bit time functions can be used
on both kinds of configurations, and so that glibc code can freely call
the 64-bit functions internally.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list