SyntaxFix
Write A Post
Hire A Developer
Questions
On Unix, include #include <unistd.h>.
#include <unistd.h>
The call you're interested in is usleep(). Which takes microseconds, so you should multiply your millisecond value by 1000 and pass the result to usleep().
usleep()