Instead Of: Use:
atof(s) Atof(s)
- atol(s) Atol(s)
+ atoi(s) grok_atou(s, &e)
+ atol(s) grok_atou(s, &e)
strtod(s, &p) Nothing. Just don't use it.
strtol(s, &p, n) Strtol(s, &p, n)
strtoul(s, &p, n) Strtoul(s, &p, n)
simply skipped without any notice.
L<https://sourceware.org/bugzilla/show_bug.cgi?id=6530>.
+=item *
+
+Do not use atoi()
+
+Use grok_atou() instead. atoi() has ill-defined behavior on overflows,
+and cannot be used for incremental parsing. It is also affected by locale,
+which can be construed as a bug.
+
=back
=head1 DEBUGGING