/* Returns a string of the form "Day Mon dd hh:mm:ss yyyy\n" which is the representation of TP in that form. */ char * asctime (const struct tm *tp) { return __asctime_r (tp, result); }
/* Return a string as returned by asctime which is the representation of *T in that form. Reentrant version. */ char * ctime_r (const time_t *t, char *buf) { struct tm tm; return __asctime_r (__localtime_r (t, &tm), buf); }