22 lines
425 B
C
22 lines
425 B
C
#ifndef SYS_TIME_H_INCLUDED
|
|
#define SYS_TIME_H_INCLUDED
|
|
|
|
#include_next <sys/time.h>
|
|
|
|
#define ITIMER_REAL 0
|
|
#define ITIMER_PROF 1
|
|
|
|
struct itimerval
|
|
{
|
|
struct timeval it_interval; /* timer interval */
|
|
struct timeval it_value; /* current value */
|
|
};
|
|
|
|
int getitimer (int, struct itimerval *);
|
|
int setitimer (int, struct itimerval *, struct itimerval *);
|
|
|
|
#endif /* SYS_TIME_H_INCLUDED */
|
|
|
|
/* end of sys/time.h */
|
|
|