summaryrefslogtreecommitdiff
path: root/src/inttypes/strtoumax.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/inttypes/strtoumax.c')
-rw-r--r--src/inttypes/strtoumax.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/inttypes/strtoumax.c b/src/inttypes/strtoumax.c
new file mode 100644
index 00000000..bc286cc0
--- /dev/null
+++ b/src/inttypes/strtoumax.c
@@ -0,0 +1,17 @@
+#include <inttypes.h>
+
+uintmax_t strtoumax(const char *restrict nptr, char ** restrict endptr, int base)
+{
+ /* like strotull */
+
+ /* if > UINTMAX_MAX */
+ /* errno = ERANGE; */
+ /* return UINTMAX_MAX */
+
+ /* if no conversion */
+ return 0;
+}
+
+/*
+STDC(199901)
+*/