From 23b9fd2c1d8f61fc17e152b4b9142eca603e2426 Mon Sep 17 00:00:00 2001 From: Todd Poynor Date: Thu, 9 May 2013 15:56:23 -0700 Subject: libc: add clock ids CLOCK_REALTIME_ALARM and CLOCK_BOOTTIME_ALARM (cherry-pick of b928bda83d4413b703329f607e2706602f15293f.) Change-Id: Ica6aad84299819ffc5e57ae4891e057d2e401fa1 --- libc/include/time.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc/include') 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); -- cgit v1.1