J
Jef Driesen
Hi,
Is it safe to pass a NULL pointer to the memcpy, memmove functions (and
other similar ones) if the size parameter is zero?
memcpy (dest, NULL, 0);
Or is that implementation defined and do I explicitly have to check for
this condition?
Thanks,
Jef
Is it safe to pass a NULL pointer to the memcpy, memmove functions (and
other similar ones) if the size parameter is zero?
memcpy (dest, NULL, 0);
Or is that implementation defined and do I explicitly have to check for
this condition?
Thanks,
Jef