nanosleep(); you will probably want to build a function that uses the nanosleep/time structs internally so you can just do something like "mysleep(0,10)" where the first arg is seconds and the second one hundredths thereof, because nanosleep itself is not that simple or user friendly.
Here's the one I've been using, there are some includes that go with it that will be particular to your system, that is a mystery to me:
Code:
void gap (int secs, int hundredths) {
struct timespec interval;
interval.tv_sec=secs;
interval.tv_nsec=hundredths*10000;
nanosleep(&interval,NULL);
}
so, eg,
gap(0,25);
...actually it looks like nanosleep is POSIX, sorry.