summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits/time.h
diff options
context:
space:
mode:
authorPetr Vorel <petr.vorel@gmail.com>2018-10-28 10:56:04 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2018-11-01 04:43:35 +0100
commit1b41063f4019bd76a7e0f6b429fff5c5dc297fa6 (patch)
tree848d8aabc7857632e16afccbd5e57f96a1c85bef /libc/sysdeps/linux/common/bits/time.h
parent89addcbf98e0962db08d36b3a958aacb94817266 (diff)
time.h: Add CLOCK_TAI
Added in kernel in kernel 3.10 in 1ff3c9677bff ("timekeeping: Add CLOCK_TAI clockid") NOTE: CLOCK_SGI_CYCLE was not added, as it has been lately removed. Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/bits/time.h')
-rw-r--r--libc/sysdeps/linux/common/bits/time.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/bits/time.h b/libc/sysdeps/linux/common/bits/time.h
index c4269ae47..e35fa867f 100644
--- a/libc/sysdeps/linux/common/bits/time.h
+++ b/libc/sysdeps/linux/common/bits/time.h
@@ -65,6 +65,8 @@
# define CLOCK_REALTIME_ALARM 8
/* Like CLOCK_BOOTTIME but also wakes suspended system. */
# define CLOCK_BOOTTIME_ALARM 9
+/* Like CLOCK_REALTIME but in International Atomic Time. */
+# define CLOCK_TAI 11
/* Flag to indicate time is absolute. */
# define TIMER_ABSTIME 1