(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
strol (" \t +0x1", &ptr, 0);
// Returns 15. ptr points to the a
strol ("017a", &ptr, 0);
// Returns 215 (5*36 + 35)
strol ("5z", &ptr, 36);