123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #pragma once
- #include "stddef.h"
- #define CLOCKS_PER_SEC 1000000
- struct tm
- {
- int tm_sec;
- int tm_min;
- int tm_hour;
- int tm_mday;
- int tm_mon;
- int tm_year;
- int tm_wday;
- int tm_yday;
- int tm_isdst;
- long int __tm_gmtoff;
- const char *__tm_zone;
- };
- struct timespec
- {
- long int tv_sec;
- long int tv_nsec;
- };
- int nanosleep(const struct timespec *rqtp, struct timespec *rmtp);
- clock_t clock();
|