[PATCH] libc/time: Add CLOCK_TAI
Corinna Vinschen
vinschen@redhat.com
Mon Jul 14 15:45:07 GMT 2025
On Jul 11 06:35, Sebastian Huber wrote:
> Hallo,
>
> FreeBSD also provides this clock identifier, maybe it should be
>
> #if __BSD_VISIBLE
>
> #define CLOCK_TAI (11)
>
> #endif
>
> ?
Probably, but I seriously wonder how to implement CLOCK_TAI on Cygwin.
IIUC, if you don't do anything special, the CLOCK_REALTIME and CLOCK_TAI
return the same value, because the leap second is set to 0 at kernel
startup. Maybe that's enough...
Corinna
More information about the Newlib
mailing list