29#if !LELY_HAVE_TIMESPEC_GET
34 if (base != TIME_UTC || clock_gettime(CLOCK_REALTIME, ts) == -1)
This header file is part of the C11 and POSIX compatibility library; it includes <time....
int timespec_get(struct timespec *ts, int base)
Sets the interval at ts to hold the current calendar time based on the specified time base.
This is the internal header file of the C11 and POSIX compatibility library.
A time type with nanosecond resolution.