linux c得到时间和设置时间 函数

#include<time.h> #include <sys/time.h> #include<stdio.h> //gcc -o systime systime.c int getSystemTime()    {        time_t timer;        struct tm t_tm;        time(&timer);        localtime_r(&timer,
相关文章
相关标签/搜索