29 #if !LELY_HAVE_TIMESPEC_GET 34 if (base != TIME_UTC || clock_gettime(CLOCK_REALTIME, ts) == -1)
39 #endif // !LELY_HAVE_TIMESPEC_GET 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.h> and defines any missing functionality.
This is the internal header file of the C11 and POSIX compatibility library.