4 * Nonstandard function which takes a string and converts it to a
5 * struct timespec/timeval. Returns a pointer to the first non-numeric
6 * character in the string.
15 char * NAME (const char *str, TIMEX *ts)
19 __typeof__(ts->FSEC) fs; /* Fractional seconds */
21 ts->tv_sec = strntoumax(str, &s, 10, ~(size_t)0);
27 fs = strntoumax(s0, &s, 10, DECIMALS);
33 for ( ; n < DECIMALS ; n++ )