MCPcopy Create free account
hub / github.com/F-Stack/f-stack / sbuf_putc_func

Function sbuf_putc_func

freebsd/kern/subr_sbuf.c:614–620  ·  view source on GitHub ↗

* Append a non-NUL character to an sbuf. This prototype signature is * suitable for use with kvprintf(9). */

Source from the content-addressed store, hash-verified

612 * suitable for use with kvprintf(9).
613 */
614static void
615sbuf_putc_func(int c, void *arg)
616{
617
618 if (c != '\0')
619 sbuf_put_byte(arg, c);
620}
621
622int
623sbuf_vprintf(struct sbuf *s, const char *fmt, va_list ap)

Callers

nothing calls this directly

Calls 1

sbuf_put_byteFunction · 0.85

Tested by

no test coverage detected