char *safe_ctime(const time_t *clock, char *bf);
char *safe_asctime(const struct tm *t, char *bf);
struct tm *safe_localtime(const time_t *clock,struct tm *result);
struct tm *safe_gmtime(const time_t *clock,struct tm *result);
