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

Function sbuf_cat

freebsd/kern/subr_sbuf.c:538–548  ·  view source on GitHub ↗

* Append a string to an sbuf. */

Source from the content-addressed store, hash-verified

536 * Append a string to an sbuf.
537 */
538int
539sbuf_cat(struct sbuf *s, const char *str)
540{
541 size_t n;
542
543 n = strlen(str);
544 sbuf_put_bytes(s, str, n);
545 if (s->s_error != 0)
546 return (-1);
547 return (0);
548}
549
550#ifdef _KERNEL
551/*

Callers 15

audit_canon_path_vpFunction · 0.85
print_cpu_featuresFunction · 0.85
stats_voistatdata_tostrFunction · 0.85
sbuf_printf_uuidFunction · 0.85
device_sysctl_handlerFunction · 0.85
devctl_notifyFunction · 0.85

Calls 1

sbuf_put_bytesFunction · 0.85

Tested by

no test coverage detected