1#include <time.h> 2#include <sys/times.h> 3 4int 5bar (void) 6{ 7 struct tms buf; 8 clock_t ticks = times (&buf); 9 return ticks == 0 && time (NULL) == 0; 10} 11