summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/bits/time.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-05-21 17:20:41 -0400
committerUlrich Drepper <drepper@gmail.com>2011-05-21 17:20:41 -0400
commit05bb4a68ad7b05e16f942552a867da6ffb88278f (patch)
treed01d36bc75c9590ecf7b167d8cc1bd3ca5017543 /sysdeps/unix/sysv/linux/bits/time.h
parentadcd5c15d2a37794d021104160b425ff61f88219 (diff)
downloadglibc-05bb4a68ad7b05e16f942552a867da6ffb88278f.tar.gz
glibc-05bb4a68ad7b05e16f942552a867da6ffb88278f.tar.xz
glibc-05bb4a68ad7b05e16f942552a867da6ffb88278f.zip
Define CLOCK_REALTIME_ALARM and CLOCK_BOOTTIME_ALARM
Diffstat (limited to 'sysdeps/unix/sysv/linux/bits/time.h')
-rw-r--r--sysdeps/unix/sysv/linux/bits/time.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/time.h b/sysdeps/unix/sysv/linux/bits/time.h
index a0d4b7823f..40f9a64fa3 100644
--- a/sysdeps/unix/sysv/linux/bits/time.h
+++ b/sysdeps/unix/sysv/linux/bits/time.h
@@ -73,6 +73,10 @@ extern long int __sysconf (int);
 #   define CLOCK_MONOTONIC_COARSE	6
 /* Monotonic system-wide clock that includes time spent in suspension.  */
 #   define CLOCK_BOOTTIME		7
+/* Like CLOCK_REALTIME but also wakes suspended system.  */
+#   define CLOCK_REALTIME_ALARM		8
+/* Like CLOCK_BOOTTIME but also wakes suspended system.  */
+#   define CLOCK_BOOTTIME_ALARM		9
 
 /* Flag to indicate time is absolute.  */
 #   define TIMER_ABSTIME		1