This revision is part of a series. Click on the Stack tab below to see the context.
This series has also been squeezed into D47633 to provide an overall view.
Commit message:
Introduce the new strtonni(), which signals an error on negative values
(and also takes care to support 'long' != 'int', which isn't generally
supported by FreeBSD).
Use it in place of strtol().