fromhex
fromhex(const char *s, int len, int *ok)
#define fromhex(c) ((c >= '0' && c <= '9') ? (c - '0') : \