libc: add clock ids CLOCK_REALTIME_ALARM and CLOCK_BOOTTIME_ALARM
(cherry-pick of b928bda83d4413b703329f607e2706602f15293f.) Change-Id: Ica6aad84299819ffc5e57ae4891e057d2e401fa1
This commit is contained in:
parent
d8a9cccb4d
commit
23b9fd2c1d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user