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)
Delta | File | |
---|---|---|
+10 | -0 | lib/libc/string/strcat.3 |
+10 | -0 | lib/libc/string/strcpy.3 |
+5 | -0 | lib/libc/string/memcpy.3 |
+25 | -0 | 3 files |