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

Function sbuf_bcat

freebsd/kern/subr_sbuf.c:481–489  ·  view source on GitHub ↗

* Append a byte string to an sbuf. */

Source from the content-addressed store, hash-verified

479 * Append a byte string to an sbuf.
480 */
481int
482sbuf_bcat(struct sbuf *s, const void *buf, size_t len)
483{
484
485 sbuf_put_bytes(s, buf, len);
486 if (s->s_error != 0)
487 return (-1);
488 return (0);
489}
490
491#ifdef _KERNEL
492/*

Callers 15

kern_proc_outFunction · 0.85
get_ps_stringsFunction · 0.85
proc_getauxvFunction · 0.85
kern_proc_vmmap_outFunction · 0.85
export_kinfo_to_sbFunction · 0.85
sbuf_bcpyFunction · 0.85
uipc_socket.cFile · 0.85
__elfN(corehdr)Function · 0.85
__elfN(putnote)Function · 0.85
__elfN(note_prpsinfo)Function · 0.85
__elfN(note_prstatus)Function · 0.85
__elfN(note_fpregset)Function · 0.85

Calls 1

sbuf_put_bytesFunction · 0.85

Tested by

no test coverage detected