1、时间类型。Linux下常用的时间类型有4个:time_t,struct timeb, struct timeval,struct timespec,clock_t, struct tm.
(1) time_t是一个长整型,一般用来表示用1970年以来的秒数.
1、时间类型。Linux下常用的时间类型有4个:time_t,struct timeb, struct timeval,struct timespec,clock_t, struct tm.
(1) time_t是一个长整型,一般用来表示用1970年以来的秒数.