diff options
author | John Birrell <jb@FreeBSD.org> | 2006-04-15 03:08:55 +0000 |
---|---|---|
committer | John Birrell <jb@FreeBSD.org> | 2006-04-15 03:08:55 +0000 |
commit | 992879a0269543943362816e3c593c4388bf6c3e (patch) | |
tree | cd1adf1cfabf44b95ef9b9204c46df3c74b21192 /include/time.h | |
parent | 78fd9f198c7e78f4fe384ec772cc908631bec6ee (diff) | |
download | src-992879a0269543943362816e3c593c4388bf6c3e.tar.gz src-992879a0269543943362816e3c593c4388bf6c3e.zip |
Copy the new CLOCK_ defines from sys/time.h for SUSv3 compatibility.
Approved by: rwatson
Notes
Notes:
svn path=/head/; revision=157766
Diffstat (limited to 'include/time.h')
-rw-r--r-- | include/time.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h index 64c426778dbb..69a41c2451ee 100644 --- a/include/time.h +++ b/include/time.h @@ -100,6 +100,14 @@ typedef __timer_t timer_t; #define CLOCK_PROF 2 #endif #define CLOCK_MONOTONIC 4 +#define CLOCK_UPTIME 5 /* FreeBSD-specific. */ +#define CLOCK_UPTIME_PRECISE 7 /* FreeBSD-specific. */ +#define CLOCK_UPTIME_FAST 8 /* FreeBSD-specific. */ +#define CLOCK_REALTIME_PRECISE 9 /* FreeBSD-specific. */ +#define CLOCK_REALTIME_FAST 10 /* FreeBSD-specific. */ +#define CLOCK_MONOTONIC_PRECISE 11 /* FreeBSD-specific. */ +#define CLOCK_MONOTONIC_FAST 12 /* FreeBSD-specific. */ +#define CLOCK_SECOND 13 /* FreeBSD-specific. */ #endif /* !defined(CLOCK_REALTIME) && __POSIX_VISIBLE >= 200112 */ #if !defined(TIMER_ABSTIME) && __POSIX_VISIBLE >= 200112 |