Converts a string value expressed in hexadecimal to a long integer.
#include <stdlib.h> unsigned long htol ( const char *ptr);
(IN) Points to the hexadecimal string to convert. The string can have a leading 0x, but it is not required to begin with 0x.
Returns the converted value.