roff_getnum
static int roff_getnum(const char *, int *, int *, char, int);
return roff_getnum(v, pos, res, unit, skipspace);