musl/compat/time32/ctime32.c

8 lines
102 B
C

#include "time32.h"
#include <time.h>
char *__ctime32(time32_t *t)
{
return ctime(&(time_t){*t});
}