1 2 3 4 5 6 7 8 9
#include <time.h> char *__asctime_r(const struct tm *, char *); char *asctime(const struct tm *tm) { static char buf[26]; return __asctime_r(tm, buf); }