]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/include/ape/time.h
libsec: implement elliptic curve group operations in jacobian coordinate system
[plan9front.git] / sys / include / ape / time.h
index 7c672fcca92cc697e72df39c5af980f5b6619bdd..8f567c93e72f7ad8b9cbb5714d6be99e7dbdba33 100644 (file)
@@ -52,6 +52,12 @@ extern char *ctime_r(const time_t *, char *);
 
 #ifdef _POSIX_SOURCE
 extern void tzset(void);
+
+struct timespec {
+       time_t tv_sec;
+       long tv_nsec;
+};
+extern int nanosleep(const struct timespec *req, struct timespec *rem);
 #endif
 
 #ifdef __cplusplus
@@ -60,6 +66,9 @@ extern void tzset(void);
 
 #ifdef _POSIX_SOURCE
 extern char *tzname[2];
+extern long timezone;
+extern long altzone;
+extern int daylight;
 #endif
 
 #endif /* __TIME_H */