diff options
author | aiju <aiju@phicode.de> | 2011-06-03 12:28:37 +0000 |
---|---|---|
committer | aiju <aiju@phicode.de> | 2011-06-03 12:28:37 +0000 |
commit | 6ab691048d0b87263a746e82fed55629243fcf4b (patch) | |
tree | eea5f6b3b8e272f9f0988726cb7c434de9139e35 /sys/include | |
parent | 5a333eb240a9e3622c2f443310a7c1856a6551e8 (diff) |
added (unfinished) nanosleep to APE
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/ape/time.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/include/ape/time.h b/sys/include/ape/time.h index 7c672fcca..73dfc797d 100644 --- a/sys/include/ape/time.h +++ b/sys/include/ape/time.h @@ -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 |