We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aaebba0 + cd3fe9b commit 69139a5Copy full SHA for 69139a5
ndk/platforms/android-8/include/time.h
@@ -94,8 +94,10 @@ extern long int timezone;
94
extern clock_t clock(void);
95
96
/* BIONIC: extra linux clock goodies */
97
-extern int clock_getres(int, struct timespec *);
98
-extern int clock_gettime(int, struct timespec *);
+extern int clock_getres(clockid_t, struct timespec *);
+extern int clock_gettime(clockid_t, struct timespec *);
99
+extern int clock_settime(clockid_t, const struct timespec *);
100
+extern int clock_nanosleep(clockid_t, int, const struct timespec *, struct timespec *);
101
102
#define CLOCK_REALTIME 0
103
#define CLOCK_MONOTONIC 1
0 commit comments