(C) 1998 AROS - The Amiga Research OS
If you give base 16, then an optional "0x" may precede the number in the string.
// Returns 1, ptr points to the 0-Byte strtoul (" \t +0x1", &ptr, 0); // Returns 15. ptr points to the a strtoul ("017a", &ptr, 0); // Returns 215 (5*36 + 35) strtoul ("5z", &ptr, 36);