timeb.h:
struct timeb
{
time_t time; /* Seconds since epoch, as from `time'. */
unsigned short int millitm; /* Additional milliseconds. */
short int timezone; /* Minutes west of GMT. */
short int dstflag; /* Nonzero if Daylight Savings Time used. */
};
/* Fill in TIMEBUF with information about the current time. */
extern int ftime (struct timeb *__timebuf);
time:time_t 这种类型就是用来存储从1970年到现在经过了多少秒,是一个longlong类型的数,我们没办法看出时间
millitm:记录毫秒
ftime接口:赋值timeb结构体
time.h:
time.h就已经包含了time_t参数,并且还有一个tm结构体,是跟真实的秒、分、时、等有关,而timeb.h的不同就在于timeb.h的timeb结构体内有关于毫秒的参数mi