riscv32: add dlsym
[musl.git] / src / time / ctime_r.c
blob3e24aa681beea2263d5350ba6c8f7473c09fe89e
1 #include <time.h>
3 char *ctime_r(const time_t *t, char *buf)
5 struct tm tm, *tm_p = localtime_r(t, &tm);
6 return tm_p ? asctime_r(tm_p, buf) : 0;