libc: add clock ids CLOCK_REALTIME_ALARM and CLOCK_BOOTTIME_ALARM

(cherry-pick of b928bda83d4413b703329f607e2706602f15293f.)

Change-Id: Ica6aad84299819ffc5e57ae4891e057d2e401fa1
This commit is contained in:
Todd Poynor 2013-05-09 15:56:23 -07:00 committed by Elliott Hughes
parent d8a9cccb4d
commit 23b9fd2c1d

View File

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