On 04/30/2014 06:33 AM, Eric Blake wrote:
Remember, the POSIX requirements are that strtol() accepts numbers in
the range LONG_MIN to LONG_MAX, while strtoul() accepts numbers in the
range LONG_MIN to ULONG_MAX (yes, strtoul has a larger range).
Correction: strtoul() is required to accept things in the range
-ULONG_MAX to ULONG_MAX (which is larger than the range LONG_MIN to
ULONG_MAX).
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org