time.h 定义了两个宏: NULL CLOCKS_PER_SEC 包含 四个类型: size_t clock_t time_t struct tm 和九个函数: clock_t clock(void); double difftime(time_t time1, time_t time0); time_t mktime(struct tm *timeptr); time_t time(time_t *timer); char *asctime(const struct tm *timeptr); char *ctime(const time_t *timer); struct tm *gmtime(const time_t *timer); struct tm *localtime(const time_t *timer); size_t strftime(char * restrict s, size_t maxsize, const char * restrict format, const struct tm * restrict timeptr);
time.h
最新推荐文章于 2023-01-08 21:53:51 发布