CMOS读取

时间:2016-02-14 09:52:49
【文件属性】:

文件名称:CMOS读取

文件大小:15KB

文件格式:EXE

更新时间:2016-02-14 09:52:49

CMOS读取

#include #include int curr_mon=0; int curr_day=0; int curr_year=0; int config_mon=0; int config_day=0; int config_year=0; void GetSysTime (void) { struct date curr_date; getdate(&curr;_date); /*printf("Current date: %d-%d-%d\n", curr_date.da_mon, curr_date.da_day, curr_date.da_year); */ curr_year=curr_date.da_year; curr_mon=curr_date.da_mon; curr_day=curr_date.da_day; } void GetFileTime(void) { FILE *fp;


网友评论