# HG changeset patch # User YAMAMOTO Mitsuharu # Date 1115974081 0 # Node ID aaca6dcaca96f80e3b4ff2a708ddd7c222ef9166 # Parent 296a69e064b35a904a8603ec5eb15544e6fe3a16 (ITIMER_REAL): New macro. (struct itimerval): New struct. (setitimer): New extern. diff -r 296a69e064b3 -r aaca6dcaca96 mac/inc/sys/time.h --- a/mac/inc/sys/time.h Fri May 13 08:45:13 2005 +0000 +++ b/mac/inc/sys/time.h Fri May 13 08:48:01 2005 +0000 @@ -28,6 +28,21 @@ long tv_usec; /* microseconds */ }; +#define ITIMER_REAL 0 +#if 0 +#define ITIMER_VIRTUAL 1 +#define ITIMER_PROF 2 +#endif + +struct itimerval { +#if 0 + struct timeval it_interval; /* timer interval */ +#endif + struct timeval it_value; /* current value */ +}; + +extern int setitimer(int, const struct itimerval *, struct itimerval *); + #endif /* _SYS_TYPES_H */ /* arch-tag: f85ed04d-0e99-4f97-892b-fe029d0e92f9