| 1154 | /* Parse numeric arguments, ensuring MIN <= number <= INT_MAX. */ |
| 1155 | |
| 1156 | static int |
| 1157 | getoptnum (char const *n_str, int min, char const *err) |
| 1158 | { |
| 1159 | return xnumtoimax (n_str, 10, min, INT_MAX, "", err, 0, |
| 1160 | min <= 0 ? 0 : XTOINT_MIN_RANGE); |
| 1161 | } |
| 1162 | |
| 1163 | /* Parse options of the form -scNNN. |
| 1164 |
no outgoing calls
no test coverage detected