aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mac/inc/sys/time.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/mac/inc/sys/time.h b/mac/inc/sys/time.h
index b80135b7b5e..4ae305cf026 100644
--- a/mac/inc/sys/time.h
+++ b/mac/inc/sys/time.h
@@ -28,6 +28,21 @@ struct timeval {
28 long tv_usec; /* microseconds */ 28 long tv_usec; /* microseconds */
29}; 29};
30 30
31#define ITIMER_REAL 0
32#if 0
33#define ITIMER_VIRTUAL 1
34#define ITIMER_PROF 2
35#endif
36
37struct itimerval {
38#if 0
39 struct timeval it_interval; /* timer interval */
40#endif
41 struct timeval it_value; /* current value */
42};
43
44extern int setitimer(int, const struct itimerval *, struct itimerval *);
45
31#endif /* _SYS_TYPES_H */ 46#endif /* _SYS_TYPES_H */
32 47
33/* arch-tag: f85ed04d-0e99-4f97-892b-fe029d0e92f9 48/* arch-tag: f85ed04d-0e99-4f97-892b-fe029d0e92f9