Mercurial > emacs
changeset 62286:aaca6dcaca96
(ITIMER_REAL): New macro.
(struct itimerval): New struct.
(setitimer): New extern.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Fri, 13 May 2005 08:48:01 +0000 |
parents | 296a69e064b3 |
children | cb2910e175ff |
files | mac/inc/sys/time.h |
diffstat | 1 files changed, 15 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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