MCPcopy Create free account
hub / github.com/coreboot/coreboot / strtoul

Function strtoul

payloads/libpayload/libc/string.c:452–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

450}
451
452unsigned long int strtoul(const char *ptr, char **endptr, int base)
453{
454 unsigned long long val = strtoull(ptr, endptr, base);
455 if (val > ULONG_MAX)
456 return ULONG_MAX;
457 return val;
458}
459
460/**
461 * Determine the number of leading characters in s that match characters in a

Callers 15

mainFunction · 0.50
inteltool.cFile · 0.50
eval_clauseFunction · 0.50
msraddrbynameFunction · 0.50
str2msrFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50
register_amd_psp_fw_addrFunction · 0.50
register_bios_fw_addrFunction · 0.50
amdfwtool_getoptFunction · 0.50
parse_argsFunction · 0.50

Calls 1

strtoullFunction · 0.70

Tested by

no test coverage detected