diff options
Diffstat (limited to 'compat/time32/ctime32.c')
-rw-r--r-- | compat/time32/ctime32.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/compat/time32/ctime32.c b/compat/time32/ctime32.c new file mode 100644 index 00000000..a057274e --- /dev/null +++ b/compat/time32/ctime32.c @@ -0,0 +1,7 @@ +#include "time32.h" +#include <time.h> + +char *__ctime32(time32_t *t) +{ + return ctime(&(time_t){*t}); +} |