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

Reply via email to