_dl_strtol
major = _dl_strtol(tok, &etok, 10);
minor = _dl_strtol(tok, &etok, 10);
long _dl_strtol(const char *nptr, char **endptr, int base);