1 #ifndef SYS_TIME_H_INCLUDED 2 #define SYS_TIME_H_INCLUDED 3 4 #include_next <sys/time.h> 5 6 #define ITIMER_REAL 0 7 #define ITIMER_PROF 1 8 9 struct itimerval 10 { 11 struct timeval it_interval; /* timer interval */ 12 struct timeval it_value; /* current value */ 13 }; 14 15 int getitimer (int, struct itimerval *); 16 int setitimer (int, struct itimerval *, struct itimerval *); 17 18 #endif /* SYS_TIME_H_INCLUDED */ 19 20 /* end of sys/time.h */ 21