Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jdblair
7 months ago
|
parent
|
context
|
favorite
| on:
Fixing C Strings
I've done something similar, but unlike the author, I always reserved one extra byte and I always null terminated the string. This was so I could use existing string output functions.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: