summaryrefslogtreecommitdiff
path: root/src/locale/strftime_l.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale/strftime_l.c')
-rw-r--r--src/locale/strftime_l.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/locale/strftime_l.c b/src/locale/strftime_l.c
new file mode 100644
index 00000000..70b2f151
--- /dev/null
+++ b/src/locale/strftime_l.c
@@ -0,0 +1,7 @@
+#include <locale.h>
+#include <time.h>
+
+size_t strftime_l(char *s, size_t n, const char *f, const struct tm *tm, locale_t l)
+{
+ return strftime(s, n, f, tm);
+}