]> git.eshelyaron.com Git - emacs.git/commitdiff
(ITIMER_REAL): New macro.
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Fri, 13 May 2005 08:48:01 +0000 (08:48 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Fri, 13 May 2005 08:48:01 +0000 (08:48 +0000)
(struct itimerval): New struct.
(setitimer): New extern.

mac/inc/sys/time.h

index b80135b7b5eb745702506e9fe216b3658317c6e8..4ae305cf0267583fa1b0ac294d816ce4db6c9d4c 100644 (file)
@@ -28,6 +28,21 @@ struct timeval {
   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