Shun time(), since on Linux it is not monotonic with gettimeofday().
[disorder] / lib / syscalls.h
index 9f8bd20..e45125a 100644 (file)
@@ -48,6 +48,7 @@ int xprintf(const char *, ...)
 void xfclose(FILE *);
 int xnice(int);
 void xgettimeofday(struct timeval *, struct timezone *);
+time_t xtime(time_t *when);
 /* the above all call @fatal@ if the system call fails */
 
 void nonblock(int fd);