Searched refs:pollstr (Results 1 – 1 of 1) sorted by relevance
1173 int convert_polltime(char *pollstr) { in convert_polltime() argument1179 if ((len = strcspn(pollstr, "s")) < strlen(pollstr)) { in convert_polltime()1181 (void) strlcpy(tokenptr, pollstr, len + 1); in convert_polltime()1185 if ((len = strcspn(pollstr, "m")) < strlen(pollstr)) { in convert_polltime()1187 (void) strlcpy(tokenptr, pollstr, len + 1); in convert_polltime()1191 if ((len = strcspn(pollstr, "h")) < strlen(pollstr)) { in convert_polltime()1193 (void) strlcpy(tokenptr, pollstr, len + 1); in convert_polltime()