From the strtonum(3) manpage:
strtonum() is an OpenBSD extension. The existing alternatives, such as atoi(3C) and strtol(3C), are either impossible or difficult to use safely.
It would be useful if there was a new function that had the use and safety
properties of strtonum() but which understood base prefixes like the
strtol(3) family of functions does.