3 ms·
Curious as well, but when I look at the glibc source for strncpy it is calling memcpy....https://code.woboq.org/userspace/glibc/string/strncpy.c.html https://co
by gompertz 5y ago
Curious as well, but when I look at the glibc source for strncpy it is calling memcpy....https://code.woboq.org/userspace/glibc/string/strncpy.c.html https://code.woboq.org/userspace/glibc/string/strncpy.c.html
It all seems to depend on the compiler vendor.