summaryrefslogtreecommitdiff
path: root/gl/modules
diff options
context:
space:
mode:
Diffstat (limited to 'gl/modules')
-rw-r--r--gl/modules/xdectoint29
1 files changed, 29 insertions, 0 deletions
diff --git a/gl/modules/xdectoint b/gl/modules/xdectoint
new file mode 100644
index 000000000..cbd372666
--- /dev/null
+++ b/gl/modules/xdectoint
@@ -0,0 +1,29 @@
+Description:
+Convert decimal string to '[u]intmax_t', with bounds checking and exit on error
+
+Files:
+lib/xdectoint.h
+lib/xdectoint.c
+lib/xdectoimax.c
+lib/xdectoumax.c
+
+Depends-on:
+error
+errno
+quote
+xstrtoimax
+xstrtoumax
+
+configure.ac:
+
+Makefile.am:
+lib_SOURCES += xdectoimax.c xdectoumax.c
+
+Include:
+"xdectoint.h"
+
+License:
+GPL
+
+Maintainer:
+all