TSLEN
char timestr[TSLEN+1]; /* The timestamp part of the string */
if(strlen(string) < TSLEN) {
strncpy(timestr, string, TSLEN);
timestr[TSLEN] = '\0';
*endp = string + TSLEN;