On 13 Aug 2015, at 08:11, Marcelo Araujo <araujobsdp...@gmail.com> wrote:
> 
> The bcopy() was removed in IEEE Std 1003.1-2008 and it is marked as LEGACY in 
> IEEE Std 1003.1-2004. However, BSD has its implementation before IEEE Std 
> 1003.1-2001.
> 
> In my understood it is obsolete on POSIX, but not truly obsolete for FreeBSD.
> So I believe, this patch now address it in the correct way.

Its use should be strongly discouraged in FreeBSD (or, ideally, replaced with 
the macro from the POSIX man page).  LLVM does a load of optimisations for 
memmove and memcpy - using bcopy is a really good way of bypassing all of these.

David

_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to