int timespec_get(timespec *ts, int base);
timespec_get populates the *ts with the current calendar time in time base base and returns the value of base if successful otherwise zero.