summaryrefslogtreecommitdiff
path: root/bits
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-03 04:42:14 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-03 04:42:14 +0000
commit1e543c0cc620324b04da6891b9b7848da8704411 (patch)
tree0c31a34ecfd5acba4afa00b8117616b500a711c3 /bits
parent8f3846a978212ebfb1c3bbaa436bd0b1668afa27 (diff)
Define CLOCK_MONOTONIC.
Diffstat (limited to 'bits')
-rw-r--r--bits/time.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/bits/time.h b/bits/time.h
index df0202a132..b3184d1de9 100644
--- a/bits/time.h
+++ b/bits/time.h
@@ -1,5 +1,5 @@
/* System-dependent timing definitions. Generic version.
- Copyright (C) 1996,1997,1999,2000,2001,2002 Free Software Foundation, Inc.
+ Copyright (C) 1996,1997,1999-2002,2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -44,6 +44,8 @@ extern long int __sysconf (int);
# ifdef __USE_POSIX199309
/* Identifier for system-wide realtime clock. */
# define CLOCK_REALTIME 0
+/* Monotonic system-wide clock. */
+# define CLOCK_MONOTONIC 1
/* High-resolution timer from the CPU. */
# define CLOCK_PROCESS_CPUTIME_ID 2
/* Thread-specific CPU-time clock. */