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

Function parse_uint32_base

tinyemu/fs_utils.c:190–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190int parse_uint32_base(uint32_t *pval, const char **pp, int base)
191{
192 const char *p, *p1;
193 p = *pp;
194 while (isspace_nolf(*p))
195 p++;
196 *pval = strtoul(p, (char **)&p1, base);
197 if (p1 == p)
198 return -1;
199 *pp = p1;
200 return 0;
201}
202
203int parse_uint64_base(uint64_t *pval, const char **pp, int base)
204{

Callers 2

filelist_load_recFunction · 0.85
parse_uint32Function · 0.85

Calls 1

isspace_nolfFunction · 0.85

Tested by

no test coverage detected