3
0
2
28
168
15
119
本文总结了一些嵌入式linux开发过程中的常用api,希望对大家有所帮助。 一 、 获取系统时间 int getlocaltime(struct tm *time) { struct timeval tv; time_t second; struct tm *temp; gettimeofday(&tv, NULL); second = tv...