HomeFreeBSD

Add notes about overlapping copies.

Description

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
Sponsored by: Netflix

Details

Provenance
impAuthored on
Parents
rS325764: Add __BEGIN_DECLS and __END_DECLS to <sys/umtx.h>
Branches
Unknown
Tags
Unknown