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