Re: strcpy versus strncpy

Dean Gaudet (dgaudet-list-bugtraq@ARCTIC.ORG)
Mon, 02 Mar 1998 17:38:38 -0800

You forgot:

4. strncpy is required to zero-fill the entire destination, which can be
quite a performance pig if the destination is big and the strncpy is
executed frequently.

Dean