关于获取时间戳函数gettimeofday的用法小结Linux下gettimeofday函数注意点
Linux下gettimeofday函数函数头文件及原型为:#include<sys/time.h>int gettimeofday(struct timeval*tv,struct timezone *tz )参数:struct timeval{ long tv_sec;/*秒*/ long tv_usec;/*微妙*/};struct timezone{ int tz_minuteswest;/*和greenwic