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