strIKtoi
intval = strIKtoi(newvalstr, &endptr, fmt);
static int strIKtoi(const char *, char **, const char *);