summaryrefslogtreecommitdiffstats
path: root/9/platforms/android-15/arch-x86/usr/include/time.h
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-02-05 12:17:02 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2014-02-05 12:17:02 +0800
commita1ec217d9be90f989de16aaff2584688e374dc3f (patch)
treed1a076c706cd5905c2bbf7b92cdcf79245f13930 /9/platforms/android-15/arch-x86/usr/include/time.h
parent733874f3f5180fc248286514eac91100b9b9b4e2 (diff)
downloadprebuilts_ndk-a1ec217d9be90f989de16aaff2584688e374dc3f.zip
prebuilts_ndk-a1ec217d9be90f989de16aaff2584688e374dc3f.tar.gz
prebuilts_ndk-a1ec217d9be90f989de16aaff2584688e374dc3f.tar.bz2
Refresh headers to NDK r9c+
Change-Id: I33c5205492e0e8932450658b8f33aa16d63c56c0
Diffstat (limited to '9/platforms/android-15/arch-x86/usr/include/time.h')
-rw-r--r--9/platforms/android-15/arch-x86/usr/include/time.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/9/platforms/android-15/arch-x86/usr/include/time.h b/9/platforms/android-15/arch-x86/usr/include/time.h
index e7ead0f..38e89fd 100644
--- a/9/platforms/android-15/arch-x86/usr/include/time.h
+++ b/9/platforms/android-15/arch-x86/usr/include/time.h
@@ -94,15 +94,21 @@ extern long int timezone;
extern clock_t clock(void);
/* BIONIC: extra linux clock goodies */
-extern int clock_getres(int, struct timespec *);
-extern int clock_gettime(int, struct timespec *);
+extern int clock_getres(clockid_t, struct timespec *);
+extern int clock_gettime(clockid_t, struct timespec *);
+extern int clock_settime(clockid_t, const struct timespec *);
+extern int clock_nanosleep(clockid_t, int, const struct timespec *, struct timespec *);
#define CLOCK_REALTIME 0
#define CLOCK_MONOTONIC 1
#define CLOCK_PROCESS_CPUTIME_ID 2
#define CLOCK_THREAD_CPUTIME_ID 3
-#define CLOCK_REALTIME_HR 4
-#define CLOCK_MONOTONIC_HR 5
+#define CLOCK_MONOTONIC_RAW 4
+#define CLOCK_REALTIME_COARSE 5
+#define CLOCK_MONOTONIC_COARSE 6
+#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);