| 201 | } |
| 202 | |
| 203 | int parse_uint64_base(uint64_t *pval, const char **pp, int base) |
| 204 | { |
| 205 | const char *p, *p1; |
| 206 | p = *pp; |
| 207 | while (isspace_nolf(*p)) |
| 208 | p++; |
| 209 | *pval = strtoull(p, (char **)&p1, base); |
| 210 | if (p1 == p) |
| 211 | return -1; |
| 212 | *pp = p1; |
| 213 | return 0; |
| 214 | } |
| 215 | |
| 216 | int parse_uint64(uint64_t *pval, const char **pp) |
| 217 | { |
no test coverage detected