haitao: 用long记秒数,恐怕不够啊 [阅读: 377] 2005-03-01 09:54:30 struct timeval { time_t tv_sec; time_t tv_usec; }; time_t == long 感觉也放不下,而且是结构了,不如整形或浮点的方便