aboutsummaryrefslogtreecommitdiffstats
path: root/memory/wtol.c
diff options
context:
space:
mode:
Diffstat (limited to 'memory/wtol.c')
-rw-r--r--memory/wtol.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/memory/wtol.c b/memory/wtol.c
new file mode 100644
index 0000000..a2196b2
--- /dev/null
+++ b/memory/wtol.c
@@ -0,0 +1,3 @@
+#include "memory.h"
+
+long wtol(wchar_t const *string) { return _wcstol_wrap(string, NULL, 10); }