summaryrefslogtreecommitdiff
path: root/05/musl-0.6.0/src/time/asctime.c
diff options
context:
space:
mode:
Diffstat (limited to '05/musl-0.6.0/src/time/asctime.c')
-rw-r--r--05/musl-0.6.0/src/time/asctime.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/05/musl-0.6.0/src/time/asctime.c b/05/musl-0.6.0/src/time/asctime.c
new file mode 100644
index 0000000..3102eb8
--- /dev/null
+++ b/05/musl-0.6.0/src/time/asctime.c
@@ -0,0 +1,9 @@
+#include <time.h>
+
+char *__asctime(const struct tm *, char *);
+
+char *asctime(const struct tm *tm)
+{
+ static char buf[26];
+ return __asctime(tm, buf);
+}