nanosleep(3), and sleep(3) rewrite, by Erik van der Kouwe

This commit is contained in:
David van Moolenbroek
2009-08-15 22:14:48 +00:00
parent 323f0abdd6
commit 5a13b2eda8
6 changed files with 106 additions and 58 deletions

View File

@@ -72,4 +72,14 @@ _PROTOTYPE( int stime, (time_t *_top) );
extern long timezone;
#ifdef _POSIX_SOURCE
struct timespec
{
time_t tv_sec;
long tv_nsec;
};
int nanosleep(const struct timespec *rqtp, struct timespec *rmtp);
#endif
#endif /* _TIME_H */