#include <stdio.h> long atox(char *s) { long n = 0L; sscanf( s, "%x", &n ); return n; } /* End of File */