Re:Torvalds: Standards are paper. I use paper to wipe my but...
by devinj on Saturday March 26, 2011 @12:57PM
(#2372551)
Right, the memcpy() API is leaky because it leaves some things unspecified. You can deduce the implementation by providing various inputs to it that have "undefined behavior". This is a common problem in C, and there are usually functions that avoid it (Linus recommends memmove).
[ Parent
| on HN ]
There are no comments on this comment yet.