time.h 381 B

12345678910111213141516
  1. #ifndef __TIME_H__
  2. #define __TIME_H__
  3. #include <sys/time.h>
  4. time_t mktime(struct tm * const t);
  5. char *asctime(const struct tm *timeptr);
  6. char *ctime(const time_t *timep);
  7. struct tm* localtime(const time_t* t);
  8. char *asctime_r(const struct tm *t, char *buf);
  9. struct tm *gmtime_r(const time_t *timep, struct tm *r);
  10. struct tm* localtime_r(const time_t* t, struct tm* r);
  11. #endif