}else if (strncasecmp(units, "m", 1) == 0 ||	strncasecmp(units, "min", 3) == 0) { multiplier = 60*1000; divisor = 1;
crm_get_msec(const char * input){	const char *	cp = input;	const char *	units;	long		multiplier = 1000;	long		divisor = 1;	long		ret = -1;	double		dret;	if(input == NULL) {		return 0;	}		cp += strspn(cp, WHITESPACE);	units = cp + strspn(cp, NUMCHARS);	units += strspn(units, WHITESPACE);	if (strchr(NUMCHARS, *cp) == NULL) {		return ret;	}	if (strncasecmp(units, "ms", 2) == 0	||	strncasecmp(units, "msec", 4) == 0) {		multiplier = 1;		divisor = 1;	}else if (strncasecmp(units, "us", 2) == 0	||	strncasecmp(units, "usec", 4) == 0) {		multiplier = 1;		divisor = 1000;	}else if (strncasecmp(units, "s", 1) == 0	||	strncasecmp(units, "sec", 3) == 0) {		multiplier = 1000;		divisor = 1;		}else if (*units != EOS && *units != '\n'	&&	*units != '\r') {		return ret;	}	dret = atof(cp);	dret *= (double)multiplier;	dret /= (double)divisor;	dret += 0.5;	ret = (long)dret;	return(ret);}