Hacker News new | past | comments | ask | show | jobs | submit login

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

It all seems to depend on the compiler vendor.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: