Searched hist:222015 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/sys/kern/
H A Dsubr_sbuf.cdiff 222015 Tue May 17 09:13:30 MDT 2011 phk Use memset() instead of bzero() and memcpy() instead of bcopy(), there
is no relevant difference for sbufs, and it increases portability of
the source code.

Split the actual initialization of the sbuf into a separate local
function, so that certain static code checkers can understand
what sbuf_new() does, thus eliminating on silly annoyance of
MISRA compliance testing.

Contributed by: An anonymous company in the last business I
expected sbufs to invade.

Completed in 84 milliseconds