Warning: scan_int is deprecated since 1.38.
Scans an integer.
Leading white space is skipped.
in/out string position
an int into which to write the result
false if a parse error occurred