On Sat, May 7, 2011 at 10:13 AM,  <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?

    bfoo is marked legacy per POSIX 2001.1; example:
http://pubs.opengroup.org/onlinepubs/009695399/functions/bcopy.html .
A lot of folks (Linux leading the charge) are actively working to
deprecate the APIs.
Thanks,
-Garrett
_______________________________________________
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