Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jun 2005 14:52:06 -0400
From:      Steven Friedrich <FreeBSD@InsightBB.com>
To:        freebsd-doc@freebsd.org
Subject:   man pages for string.h functions needs update
Message-ID:  <200506201452.06292.FreeBSD@InsightBB.com>

index | next in thread | raw e-mail

per "The C programming language" ANSI C edition, by K&R, page 249, states 
"Except for memove, the behaviour is undefined if copying takes place between 
overlapping objects.".

memove and memcpy have appropriate notes. strcpy doesn't (and probably the 
rest of str* need a note to this effect).

-- 
i386 FreeBSD 4.11-STABLE
There are 10 types of people in this world. Ones that understand binary and 
then, the others.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506201452.06292.FreeBSD>