Synopsis
int timespec_get(timespec *ts,
                 int base);
Description

timespec_get populates the *ts with the current calendar time in time base base and returns the value of base if successful otherwise zero.