summaryrefslogtreecommitdiff
path: root/src/stdlib/strtoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/strtoll.c')
-rw-r--r--src/stdlib/strtoll.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/stdlib/strtoll.c b/src/stdlib/strtoll.c
new file mode 100644
index 00000000..2f40229c
--- /dev/null
+++ b/src/stdlib/strtoll.c
@@ -0,0 +1,15 @@
+#include <stdlib.h>
+
+long long int strtoll(const char * restrict nptr, char ** restrict endptr, int base)
+{
+ intmax_t ret = strtoimax(nptr, endptr, base);
+ if (ret < LLONG_MIN) {
+ }
+ if (ret > LLONG_MAX) {
+ }
+ return (long long int)ret;
+}
+
+/*
+STDC(199901)
+*/