MCPcopy Create free account
hub / github.com/ading2210/linuxpdf / parse_uint64_base

Function parse_uint64_base

tinyemu/fs_utils.c:203–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203int 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
216int parse_uint64(uint64_t *pval, const char **pp)
217{

Callers 3

parse_uint64Function · 0.85
parse_file_idFunction · 0.85
parse_tag_file_idFunction · 0.85

Calls 1

isspace_nolfFunction · 0.85

Tested by

no test coverage detected