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

Function sbuf_putc

freebsd/kern/subr_sbuf.c:726–734  ·  view source on GitHub ↗

* Append a character to an sbuf. */

Source from the content-addressed store, hash-verified

724 * Append a character to an sbuf.
725 */
726int
727sbuf_putc(struct sbuf *s, int c)
728{
729
730 sbuf_put_byte(s, c);
731 if (s->s_error != 0)
732 return (-1);
733 return (0);
734}
735
736/*
737 * Append a trailing newline to a non-empty sbuf, if one is not already

Callers 15

audit_canon_path_vpFunction · 0.85
biba_element_to_stringFunction · 0.85
biba_to_stringFunction · 0.85
mls_element_to_stringFunction · 0.85
mls_to_stringFunction · 0.85
lomac_to_stringFunction · 0.85
corefile_openFunction · 0.85
coredumpFunction · 0.85

Calls 1

sbuf_put_byteFunction · 0.85

Tested by

no test coverage detected