Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 May 2011 10:13:27 -0700
From:      mdf@FreeBSD.org
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>
Subject:   Re: svn commit: r221604 - head/usr.sbin/usbdump
Message-ID:  <BANLkTimi_Em60n9MZRTcgBDvycqH-pKL5g@mail.gmail.com>
In-Reply-To: <201105071836.00660.hselasky@c2i.net>
References:  <201105071628.p47GSO16006145@svn.freebsd.org> <201105071836.00660.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 7, 2011 at 9:36 AM, Hans Petter Selasky <hselasky@c2i.net> wrot=
e:
> On Saturday 07 May 2011 18:28:24 Hans Petter Selasky wrote:
>> =A0 - 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?

Thanks,
matthew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTimi_Em60n9MZRTcgBDvycqH-pKL5g>