svn commit: r286715 - head/lib/libc/string
David Chisnall
theraven at FreeBSD.org
Thu Aug 13 08:01:54 UTC 2015
On 13 Aug 2015, at 08:56, Marcelo Araujo <araujobsdport at gmail.com> wrote:
>
> So it means, this commit here was right already:
> https://svnweb.freebsd.org/base?view=revision&revision=286651
>
> Although I made a mistake with the date.
More or less. I partly agree with Bruce that suggesting memcpy is misleading. I’d prefer something like:
This function is deprecated (marked as LEGACY in
POSIX.1-2001): use
.Xr memmove 3
in new programs.
If you can guarantee that the input and output buffers do not overlap, then
.Xr memcpy 3
may be more efficient.
David
More information about the svn-src-all
mailing list