summaryrefslogtreecommitdiff
path: root/src/locale/strerror_l.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale/strerror_l.c')
-rw-r--r--src/locale/strerror_l.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/locale/strerror_l.c b/src/locale/strerror_l.c
new file mode 100644
index 00000000..765f5c69
--- /dev/null
+++ b/src/locale/strerror_l.c
@@ -0,0 +1,7 @@
+#include <string.h>
+#include <locale.h>
+
+char *strerror_l(int err, locale_t l)
+{
+ return strerror(err);
+}