2014年5月8日

struct timespec 和 struct timeval

摘要: time()提供了秒级的精确度 .1、头文件 2、函数原型 time_t time(time_t * timer) 函数返回从TC1970-1-1 0:0:0开始到现在的秒数 用time()函数结合其他函数(如:localtime、gmtime、asctime、ctime)可以获得当前... 阅读全文

posted @ 2014-05-08 18:33 光标 阅读(36716) 评论(0) 推荐(1) 编辑

导航