struct timeval结构体在time.h中有定义,具体为:struct timeval { __time_t tv_sec; /* Seconds. */ __suseconds_t tv_usec; /* Microseconds. */ };其中,tv_sec为Epoch到创建struct timeval时的秒数,tv_usec为微秒数,即秒后面的零头。比如当前的tv_sec为1244770435,tv_usec为44238...