Linux下时间输出格式精确到微秒-gettimeofday

<span style="font-size: 18px; background-color: rgb(240, 240, 240);"> #include <sys/time.h></span> int gettimeofday(struct timeval*tv, struct timezone *tz); 其参数tv是保存获取时间结果的结构体,参数tz用于保存时区结果: struct tim
相关文章
相关标签/搜索