#include <time.h>
<time.h> contains declarations for time manipulation library routines:
char *asctime(const struct tm *timeptr); clock_t clock(void); char *ctime(const time_t *timenum); double difftime(time_t time2,time_t time1); struct tm *gmtime(const time_t *timenum); struct tm *localtime(const time_t *timenum); time_t mktime(struct tm *timeptr); time_t time(time_t *timenum);
<time.h> also defines the manifest CLOCKS_PER_SEC which gives the number of clock "ticks" in a second, and the types "clock_t" (described in "expl c lib clock"), "time_t" (described in "expl c lib time"), and "struct tm" (described in "expl c lib localtime").
Copyright © 1996, Thinkage Ltd.