Print string without adding a newline. * * @param str String to print. * @param ps Write function specification and support data. * * @return Number of characters printed. * */
| 153 | * |
| 154 | */ |
| 155 | static int printf_putstr(const char *str, printf_spec_t *ps) |
| 156 | { |
| 157 | if (str == NULL) |
| 158 | return printf_putnchars(nullstr, str_size(nullstr), ps); |
| 159 | |
| 160 | return ps->str_write((void *) str, str_size(str), ps->data); |
| 161 | } |
| 162 | |
| 163 | /** Print one ASCII character. |
| 164 | * |
no test coverage detected