summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>2006-04-15 03:08:55 +0000
committerjb <jb@FreeBSD.org>2006-04-15 03:08:55 +0000
commit6a0a3efe6f9ec1e4434b095454e3ea5eb7e11565 (patch)
treecd1adf1cfabf44b95ef9b9204c46df3c74b21192
parent7a60f2f706fccfc1297daa08edb3dfa1f15c656c (diff)
downloadFreeBSD-src-6a0a3efe6f9ec1e4434b095454e3ea5eb7e11565.zip
FreeBSD-src-6a0a3efe6f9ec1e4434b095454e3ea5eb7e11565.tar.gz
Copy the new CLOCK_ defines from sys/time.h for SUSv3 compatibility.
Approved by: rwatson
-rw-r--r--include/time.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h
index 64c4267..69a41c2 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
OpenPOWER on IntegriCloud