Is there a good way to slow down program output? usleep and nanosleep don't slow it down enough, delay doesn't work, and sleep keeps freezing my program. I am using Linux since I think this makes a difference in what I have to use.
These were the values I tried. I would like at least a 5 second delay.
//usleep(1000000);
sleep(5);
//delay(3000);
//nanosleep(999999999);
//usleep(102400);