3 ms·strncpy also has the dubious behavior of zero-filling out to N even if strlen(src) is much shorter than N.by loeg 6y agostrncpy also has the dubious behavior of zero-filling out to N even if strlen(src) is much shorter than N.