Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gompertz
on July 30, 2021
|
parent
|
context
|
favorite
| on:
strcpy: A niche function you don't need
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:
It all seems to depend on the compiler vendor.