* Append a non-NUL character to an sbuf. This prototype signature is * suitable for use with kvprintf(9). */
| 612 | * suitable for use with kvprintf(9). |
| 613 | */ |
| 614 | static void |
| 615 | sbuf_putc_func(int c, void *arg) |
| 616 | { |
| 617 | |
| 618 | if (c != '\0') |
| 619 | sbuf_put_byte(arg, c); |
| 620 | } |
| 621 | |
| 622 | int |
| 623 | sbuf_vprintf(struct sbuf *s, const char *fmt, va_list ap) |
nothing calls this directly
no test coverage detected