diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-05-21 17:20:41 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-05-21 17:20:41 -0400 |
commit | 05bb4a68ad7b05e16f942552a867da6ffb88278f (patch) | |
tree | d01d36bc75c9590ecf7b167d8cc1bd3ca5017543 | |
parent | adcd5c15d2a37794d021104160b425ff61f88219 (diff) | |
download | glibc-05bb4a68ad7b05e16f942552a867da6ffb88278f.tar.gz glibc-05bb4a68ad7b05e16f942552a867da6ffb88278f.tar.xz glibc-05bb4a68ad7b05e16f942552a867da6ffb88278f.zip |
Define CLOCK_REALTIME_ALARM and CLOCK_BOOTTIME_ALARM
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/time.h | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index bc73ba35bc..8a55e9da7b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2011-05-21 Ulrich Drepper <drepper@gmail.com> + * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM + and CLOCK_BOOTTIME_ALARM. + [BZ #12782] * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error is returned. 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 |