Robert Baron <robertbartlettba...@gmail.com> writes: > Second question: > > Doesn't memcpy allow for overlapping memory, but strcpy does not? Isn't this > why memcpy is preferred over strcpy?
According to the man page for memcpy, "The memory areas must not overlap. Use memmove(3) if the memory areas do overlap." strcpy will stop copying at the first null byte. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1br4a4tiy3....@snowball.wb.pfeifferfamily.net