chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Shun time(), since on Linux it is not monotonic with gettimeofday().
[disorder]
/
lib
/
syscalls.h
diff --git
a/lib/syscalls.h
b/lib/syscalls.h
index 9f8bd206fb142c17ad6840804ac4b972c0c6eba3..e45125a8473449666cf9b86058470a1c34421c7e 100644
(file)
--- a/
lib/syscalls.h
+++ b/
lib/syscalls.h
@@
-48,6
+48,7
@@
int xprintf(const char *, ...)
void xfclose(FILE *);
int xnice(int);
void xgettimeofday(struct timeval *, struct timezone *);
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);
/* the above all call @fatal@ if the system call fails */
void nonblock(int fd);