memcpy (and friends) with NULL pointers
Imperial Violet
JUNE 25, 2016
The C standard (ISO/IEC 9899:2011) has a sane-seeming definition of memcpy (section 7.24.2.1): The memcpy function copies n characters from the object pointed to by s2 into the object pointed to by s1. 12: c3 ret. Apart from a prohibition on passing overlapping objects, I think every C programmer understands that. f: c3 ret. +
Let's personalize your content