Can I call memcpy() and memmove() with “number of bytes” set to zero?
From the C99 standard (7.21.1/2): Where an argument declared as size_t n specifies the length of the array for a function, n can have the value zero on a call to that function. Unless explicitly stated otherwise in the description of a particular function in this subclause, pointer arguments on such a call shall still … Read more