summaryrefslogtreecommitdiff
path: root/src/stdlib/atoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/atoll.c')
-rw-r--r--src/stdlib/atoll.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/stdlib/atoll.c b/src/stdlib/atoll.c
new file mode 100644
index 00000000..bc098876
--- /dev/null
+++ b/src/stdlib/atoll.c
@@ -0,0 +1,10 @@
+#include <stdlib.h>
+
+long long int atoll(const char *nptr)
+{
+ return strtoll(str, (char**)NULL, 10);
+}
+
+/*
+STDC(199901)
+*/