frac 8246 src/simh/scp.c char frac[16] = ""; frac 8275 src/simh/scp.c sprintf (frac, ".%03.0f%03.0f", msecs, usecs); frac 8276 src/simh/scp.c while (frac[strlen (frac) - 1] == '0') //-V557 frac 8277 src/simh/scp.c frac[strlen (frac) - 1] = '\0'; //-V557 frac 8278 src/simh/scp.c if (strlen (frac) == 1) frac 8279 src/simh/scp.c frac[0] = '\0'; frac 8282 src/simh/scp.c sprintf (buf, "%s%.0f day%s %02.0f:%02.0f:%02.0f%s hour%s", sign, days, (days != 1)? "s" : "", hours, mins, secs, frac, (days == 1) ? "s" : ""); frac 8285 src/simh/scp.c sprintf (buf, "%s%.0f:%02.0f:%02.0f%s hour", sign, hours, mins, secs, frac); frac 8288 src/simh/scp.c sprintf (buf, "%s%.0f:%02.0f%s minute", sign, mins, secs, frac); frac 8291 src/simh/scp.c sprintf (buf, "%s%.0f%s second", sign, secs, frac); frac 8295 src/simh/scp.c sprintf (buf, "%s%.0f.%s msec", sign, msecs, frac+4);