#include "string.h"staticinthex(charch){if((ch>='0')&&(ch<='9'))returnch-'0';if((ch>='a')&&(ch<='f'))returnch-'a'+10;if((ch>='A')&&(ch<='F'))returnch-'A'+10;return-1;}/* * While we find nice hex chars, build a long_val. * Return number of chars processed. */