summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/time.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/time.h b/include/time.h
index 99b997b..64c4267 100644
--- a/include/time.h
+++ b/include/time.h
@@ -139,7 +139,15 @@ time_t mktime(struct tm *);
size_t strftime(char * __restrict, size_t, const char * __restrict,
const struct tm * __restrict);
time_t time(time_t *);
-
+#if __POSIX_VISIBLE >= 200112
+struct sigevent;
+int timer_create(clockid_t, struct sigevent *__restrict, timer_t *__restrict);
+int timer_delete(timer_t);
+int timer_gettime(timer_t, struct itimerspec *);
+int timer_getoverrun(timer_t);
+int timer_settime(timer_t, int, const struct itimerspec *__restrict,
+ struct itimerspec *__restrict);
+#endif
#if __POSIX_VISIBLE
void tzset(void);
#endif
OpenPOWER on IntegriCloud