#include<time.h>/* There is no other implemented value than TIME_UTC; all other values * are considered erroneous. */inttimespec_get(structtimespec*ts,intbase){if(base!=TIME_UTC)return0;intret=__clock_gettime(CLOCK_REALTIME,ts);returnret<0?0:base;}#ifdef TESTintmain(void){return0;}#endif