** Read an integer numeral from string 'fmt' or return 'df' if ** there is no numeral */
| 1449 | ** there is no numeral |
| 1450 | */ |
| 1451 | static int digit (int c) { return '0' <= c && c <= '9'; } |
| 1452 | |
| 1453 | static size_t getnum (const char **fmt, size_t df) { |
| 1454 | if (!digit(**fmt)) /* no number? */ |