2 ms·The sad part: strtol(s, ..., 0) would've handled hex input automatically...by eqvinox 3mo agoThe sad part: strtol(s, ..., 0) would've handled hex input automatically...