On Saturday 07 May 2011 19:13:27 [email protected] wrote:
> On Sat, May 7, 2011 at 9:36 AM, Hans Petter Selasky <[email protected]> 
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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to