diff options
author | Todd Poynor <toddpoynor@google.com> | 2013-05-09 15:56:23 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-05-14 14:43:09 -0700 |
commit | 23b9fd2c1d8f61fc17e152b4b9142eca603e2426 (patch) | |
tree | b361777a28fedda44696e9aee30fadc114f5da6d /libc/include | |
parent | d8a9cccb4d77eecc36425c9240a12bd305031ee3 (diff) | |
download | bionic-23b9fd2c1d8f61fc17e152b4b9142eca603e2426.zip bionic-23b9fd2c1d8f61fc17e152b4b9142eca603e2426.tar.gz bionic-23b9fd2c1d8f61fc17e152b4b9142eca603e2426.tar.bz2 |
libc: add clock ids CLOCK_REALTIME_ALARM and CLOCK_BOOTTIME_ALARM
(cherry-pick of b928bda83d4413b703329f607e2706602f15293f.)
Change-Id: Ica6aad84299819ffc5e57ae4891e057d2e401fa1
Diffstat (limited to 'libc/include')
-rw-r--r-- | libc/include/time.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/include/time.h b/libc/include/time.h index e280e0a..edcc5bd 100644 --- a/libc/include/time.h +++ b/libc/include/time.h @@ -104,6 +104,8 @@ extern int clock_gettime(int, struct timespec *); #define CLOCK_REALTIME_HR 4 #define CLOCK_MONOTONIC_HR 5 #define CLOCK_BOOTTIME 7 +#define CLOCK_REALTIME_ALARM 8 +#define CLOCK_BOOTTIME_ALARM 9 extern int timer_create(int, struct sigevent*, timer_t*); extern int timer_delete(timer_t); |