get_limit
static bool_t get_limit(const char *s, int len, int *limit, int default_val);
if (!get_limit(attrib_val, attrib_len, &limit,