Paul Eggert wrote:
> Sebastian Kreft writes:
> > And finally, why do you use mempcpy instead of strncpy?
> 
> A minor speed increase.  mempcpy need not check for '\0'.

In general I am always happy to see strncpy() removed from code.  It
is a terrible library routine, named inconsistently with other strn*()
routines, and just generally misunderstood.

Bob


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to