系统时钟和硬件时钟同步
摘要:硬件时钟调整与系统时钟一致://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
posted @ 2015-01-22 16:34