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

Function msgbuf_copy

freebsd/kern/subr_msgbuf.c:409–416  ·  view source on GitHub ↗

* Copy from one message buffer to another. */

Source from the content-addressed store, hash-verified

407 * Copy from one message buffer to another.
408 */
409void
410msgbuf_copy(struct msgbuf *src, struct msgbuf *dst)
411{
412 int c;
413
414 while ((c = msgbuf_getchar(src)) >= 0)
415 msgbuf_addchar(dst, c);
416}

Callers 1

msgbufinitFunction · 0.85

Calls 2

msgbuf_getcharFunction · 0.85
msgbuf_addcharFunction · 0.85

Tested by

no test coverage detected