HomeFreeBSD

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

Description

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)

Details

Provenance
rgrimesAuthored on
Parents
rS343325: MFC r342977 (by cem): amdtemp(4): Add support for Family 15h, Model >=60h
Branches
Unknown
Tags
Unknown