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 Nov 13 2017, 5:04 PM
Parents
rGd63f2964cef2: Add __BEGIN_DECLS and __END_DECLS to <sys/umtx.h>
Branches
Unknown
Tags
Unknown

Event Timeline