chiark / gitweb /
volume_id: add OCFS (Oracle Cluster File System) support
[elogind.git] / klibc / include / time.h
1 /*
2  * time.h
3  */
4
5 #ifndef _TIME_H
6 #define _TIME_H
7
8 #include <klibc/extern.h>
9 #include <sys/time.h>
10
11 __extern time_t time(time_t *);
12 __extern int nanosleep(const struct timespec *, struct timespec *);
13
14 /* klibc-specific but useful since we don't have floating point */
15 __extern char *strtotimeval(const char *str, struct timeval *tv);
16 __extern char *strtotimespec(const char *str, struct timespec *tv);
17
18 #endif /* _TIME_H */