summaryrefslogtreecommitdiff
path: root/libgcompat
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-06 08:12:01 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-06 08:12:01 -0500
commitdb5dae20793d5696c5c3e905d2c467c2ff0a23a1 (patch)
tree660dd542c04be9136e8c40d964cab28b7089558e /libgcompat
parent2eae317bd62a38645f35c46ca62cdde24ff718d8 (diff)
downloadgcompat-db5dae20793d5696c5c3e905d2c467c2ff0a23a1.tar.gz
gcompat-db5dae20793d5696c5c3e905d2c467c2ff0a23a1.tar.bz2
gcompat-db5dae20793d5696c5c3e905d2c467c2ff0a23a1.tar.xz
gcompat-db5dae20793d5696c5c3e905d2c467c2ff0a23a1.zip
time: New module adding __strftime_l
Diffstat (limited to 'libgcompat')
-rw-r--r--libgcompat/time.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libgcompat/time.c b/libgcompat/time.c
new file mode 100644
index 0000000..a058edb
--- /dev/null
+++ b/libgcompat/time.c
@@ -0,0 +1,7 @@
+#include <time.h>
+
+size_t __strftime_l(char *restrict s, size_t n, const char *restrict f,
+ const struct tm *restrict tm, locale_t loc)
+{
+ return strftime_l(s, n, f, tm, loc);
+}