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