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

Function sbuf_vprintf

freebsd/kern/subr_sbuf.c:622–636  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620}
621
622int
623sbuf_vprintf(struct sbuf *s, const char *fmt, va_list ap)
624{
625
626 assert_sbuf_integrity(s);
627 assert_sbuf_state(s, 0);
628
629 KASSERT(fmt != NULL,
630 ("%s called with a NULL format string", __func__));
631
632 (void)kvprintf(fmt, sbuf_putc_func, s, 10, ap);
633 if (s->s_error != 0)
634 return (-1);
635 return (0);
636}
637#else /* !_KERNEL */
638int
639sbuf_vprintf(struct sbuf *s, const char *fmt, va_list ap)

Callers 3

device_printfFunction · 0.85
sbuf_printfFunction · 0.85
mount_argfFunction · 0.85

Calls 4

vsnprintfFunction · 0.85
sbuf_drainFunction · 0.85
sbuf_extendFunction · 0.85
kvprintfFunction · 0.70

Tested by

no test coverage detected