Lines Matching defs:pollstr
1171 * Routine to convert the `pollstr' string to seconds
1173 int convert_polltime(char *pollstr) {
1179 if ((len = strcspn(pollstr, "s")) < strlen(pollstr)) {
1181 (void) strlcpy(tokenptr, pollstr, len + 1);
1185 if ((len = strcspn(pollstr, "m")) < strlen(pollstr)) {
1187 (void) strlcpy(tokenptr, pollstr, len + 1);
1191 if ((len = strcspn(pollstr, "h")) < strlen(pollstr)) {
1193 (void) strlcpy(tokenptr, pollstr, len + 1);
1200 * If we have a bogus pollstr value, set polltime to the