FreeBSD/src 12895df (r343326)lib/libc/string strcat.3 strcpy.3

MFC: 325765 (imp) Add notes about overlapping copies.

Add notes to each of these that specifically state that results are
undefined if the strings overlap. In the case of memcpy, we document
the overlapping behavior on FreeBSD (pre-existing). For str*, it is
left unspecified, however, since the default (and x86) implementations
do not handle overlapping strings properly.

PR: 223653
Approved by:    phk (mentor)
DeltaFile
+10-0lib/libc/string/strcat.3
+10-0lib/libc/string/strcpy.3
+5-0lib/libc/string/memcpy.3
+25-03 files

UnifiedSplitRaw

FreeBSD/src 78b4ca6 (r343326)lib/libc/string strcat.3 strcpy.3

MFC: 325765 (imp) Add notes about overlapping copies.

Add notes to each of these that specifically state that results are
undefined if the strings overlap. In the case of memcpy, we document
the overlapping behavior on FreeBSD (pre-existing). For str*, it is
left unspecified, however, since the default (and x86) implementations
do not handle overlapping strings properly.

PR: 223653
Approved by:    phk (mentor)
DeltaFile
+10-0lib/libc/string/strcat.3
+10-0lib/libc/string/strcpy.3
+5-0lib/libc/string/memcpy.3
+25-03 files

UnifiedSplitRaw