mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-04 08:50:27 +00:00
Introduce clock_nanosleep()
This commit is contained in:
parent
fe3216e961
commit
b75a4654cf
33 changed files with 553 additions and 100 deletions
|
@ -16,9 +16,14 @@ int gettimeofday(struct timeval *, struct timezone *);
|
|||
int lutimes(const char *, const struct timeval[2]);
|
||||
int utimes(const char *, const struct timeval[2]);
|
||||
|
||||
struct timeval _timeval_add(struct timeval, struct timeval);
|
||||
struct timeval _timespec_totimeval(struct timespec);
|
||||
struct timespec _timeval_totimespec(struct timeval);
|
||||
int _timeval_cmp(struct timeval, struct timeval) pureconst;
|
||||
bool _timeval_eq(struct timeval, struct timeval) pureconst;
|
||||
bool _timeval_gt(struct timeval, struct timeval) pureconst;
|
||||
bool _timeval_gte(struct timeval, struct timeval) pureconst;
|
||||
struct timeval _timeval_add(struct timeval, struct timeval) pureconst;
|
||||
struct timeval _timeval_sub(struct timeval, struct timeval) pureconst;
|
||||
struct timeval _timespec_totimeval(struct timespec) pureconst;
|
||||
struct timespec _timeval_totimespec(struct timeval) pureconst;
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue