| 86 | */ |
| 87 | |
| 88 | static const char *get_width(const char *fmt, size_t *width) |
| 89 | { |
| 90 | for (; my_isdigit(&my_charset_latin1, *fmt); fmt++) |
| 91 | { |
| 92 | *width= *width * 10 + (uint)(*fmt - '0'); |
| 93 | } |
| 94 | return fmt; |
| 95 | } |
| 96 | |
| 97 | /** |
| 98 | Calculates print width or index of positional argument |
no outgoing calls
no test coverage detected