svn commit: r221604 - head/usr.sbin/usbdump
Hans Petter Selasky
hselasky at c2i.net
Sat May 7 17:56:47 UTC 2011
On Saturday 07 May 2011 19:13:27 mdf at freebsd.org wrote:
> On Sat, May 7, 2011 at 9:36 AM, Hans Petter Selasky <hselasky at c2i.net>
wrote:
> > On Saturday 07 May 2011 18:28:24 Hans Petter Selasky wrote:
> >> - Use memcpy() instead of bcopy().
> >
> > - Use memset() instead of bzero().
>
> Why? It usually falls through to the same code in libc. Is there
> some standardization on memfoo versus bfoo here?
Hi,
I thought that memset() was a compiler builtin and bzero() optimised for
larger amounts of data?
--HPS
More information about the svn-src-head
mailing list