29 #if !LELY_HAVE_TIMESPEC_GET
34 if (base !=
TIME_UTC || clock_gettime(CLOCK_REALTIME, ts) == -1)
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 header file is part of the C11 and POSIX compatibility library; it includes <time....
#define TIME_UTC
An integer constant greater than 0 that designates the UTC time base.
This is the internal header file of the C11 and POSIX compatibility library.