摘要:
timeval timeval结构可以用来保存时间信息。 在文件<sys/time.h>中定义,结构如下: struct timeval { time_t tv_sec; /* seconds */ suseconds_t tv_usec; /* microseconds */};其中tv_usec为微秒(10-6秒) 。其主要用法如下: struct timeval e;gettimeofday... 阅读全文
posted @ 2010-09-19 17:54
谷底望月
阅读(303)
评论(0)
推荐(0)
浙公网安备 33010602011771号