1
0
Fork 0
sattools/src/waitfor.c

21 lines
264 B
C
Raw Normal View History

2013-10-01 10:53:57 -06:00
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include <sys/time.h>
int
main (int argc, char *argv[])
2013-10-01 10:53:57 -06:00
{
struct timeval tv;
for (;;)
{
gettimeofday (&tv, 0);
if (tv.tv_usec > 999000)
break;
}
2013-10-01 10:53:57 -06:00
return 0;
}