time.h

来自「微软的基于HMM的人脸识别原代码, 非常经典的说」· C头文件 代码 · 共 27 行

H
27
字号
#define CLOCKS_PER_SEC 2000


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;
};

char *asctime(struct tm * tm);
clock_t clock(void);
char *ctime(time_t * clock);
double difftime(time_t t1, time_t t2);
struct tm *gmtime(time_t *clock);
struct tm *localtime(time_t *clock);
time_t mktime(struct tm * tm);
size_t strftime(char * buf, size_t bufsize,char * fmt,struct tm *tm);
time_t time(time_t * tloc);


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?