Re: strncpy clarify result may not be null terminated

Paul Eggert
2023-11-11T22:20:35Z

On 2023-11-11 13:13, Alejandro Colomar wrote:
> Was strncpy(3) optimized in a recent version of glibc that you have?

Ubuntu 23.10 currently uses glibc 2.38-1ubuntu6. Fortification is on by
default, so __builtin___strncpy_chk is involved.

Again, I wouldn't take these numbers too seriously. It's just a
microbenchmark.