diff options
Diffstat (limited to 'sys/include/sys/time.h')
-rw-r--r-- | sys/include/sys/time.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/include/sys/time.h b/sys/include/sys/time.h index 37f3daf..8563fc7 100644 --- a/sys/include/sys/time.h +++ b/sys/include/sys/time.h @@ -31,16 +31,27 @@ #define _SYS_TIME_H_ #include <sys/types.h> +#if defined(_KERNEL) +#include <sys/syscall.h> +#endif /* _KERNEL */ struct timeval { time_t tv_sec; time_t tv_usec; }; +struct timespec { + time_t tv_sec; + long tv_nsec; +}; + struct date { uint8_t sec; uint8_t min; uint8_t hour; }; +#if defined(_KERNEL) +scret_t sys_sleep(struct syscall_args *scargs); +#endif #endif /* !_SYS_TIME_H_ */ |