Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pantalaimon
on July 18, 2023
|
parent
|
context
|
favorite
| on:
Strlcpy and strlcat added to glibc 2.38
I'm surprised they didn't go with strscpy() directly
https://archive.kernel.org/oldlinux/htmldocs/kernel-api/API-...
GoblinSlayer
on July 18, 2023
[–]
Because strlcpy exists in bsd since 1999:
https://man.netbsd.org/strlcpy.3
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://archive.kernel.org/oldlinux/htmldocs/kernel-api/API-...