Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
formerly_proven
on Aug 27, 2022
|
parent
|
context
|
favorite
| on:
Ushering out strlcpy()
The express purpose of strncpy is to handle fixed-length strings in classic unix (file) structures (e.g. tar), I'm not convinced it's correct to use in basically any other situation.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: