Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dllthomas
on Jan 31, 2014
|
parent
|
context
|
favorite
| on:
Printable True Bugs Wait Posters
Yeah, my bad, had meant to use strncpy. My contention had been that it only zeroes the first following character (if that). On closer reading of the man page, it is in fact clear.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: