_ti_calcdelay
taildelay = _ti_calcdelay(&str, affcnt, NULL);
delay = _ti_calcdelay(&str, affcnt, &mand);