blob: 5938a42bf8b208d7b76e249008d699e2f1e7c4b6 [file] [log] [blame]
#include <time.h>
static void process_sleep(int sec) {
clock_t beg = clock();
while((clock() - beg) / CLOCKS_PER_SEC < sec)
usleep(100);
}