11 2012 档案
摘要:新浪微博:http://weibo.com/u/2302366064参考资料:http://pubs.opengroup.org/onlinepubs/7908799/xsh/systime.h.html在Linux系统下,获取毫秒级的系统时间,使用毫秒级的定时器,修改文件访问时间等,用sys/time.h下的方法会很方便下面详细来看sys/time.h下的数据结构和方法数据结构:timeval:timevalue存储时间格式structtimeval{ longtv_sec;//秒longtv_usec;//毫秒}itimerval:structitimerval{structtimerv.
阅读全文

浙公网安备 33010602011771号