Hey, probably a simple thing, but I'm stumped:
I just want to pause a simple event loop for a couple of seconds:
int main(void)
{
for ( ; ; )
<PAUSE 2 Seconds>
printf ("I just waited 2 seconds");
}
or something like that... I'm building this as a Standard Tool in Project Builder under 10.2.1. I've read that there is a curses library that contains a sleep() function, but I can't find it anywhere.
Anybody have an answer to this trivial question?
Thanks,
-J