Define CLOCK_REALTIME_ALARM and CLOCK_BOOTTIME_ALARM

This commit is contained in:
Ulrich Drepper 2011-05-21 17:20:41 -04:00
parent adcd5c15d2
commit 05bb4a68ad
2 changed files with 7 additions and 0 deletions

View File

@ -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.

View File

@ -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