linux '$^t' 时间,linux下时间的转换 timeval /time_t time_t/tm
#include #include //#include #include #include #includeint main (int argc, char *argv[]){struct timeval t_startrun, t_endrun;int flag = 0;char timef[100];time_t t;struct tm *today;for( int ...