系统时钟和硬件时钟同步
摘要:
硬件时钟调整与系统时钟一致://system("hwclock -w")int SyncSystemClockToHw(void){ struct timeval tv; struct tm tm_time; int fd; int ret = 0; ret = access("/dev/rtc1... 阅读全文
posted @ 2015-01-22 16:34 疯子123 阅读(462) 评论(0) 推荐(0) 编辑