Hacker News new | past | comments | ask | show | jobs | submit login

Not even close to accurate. I'm not aware of any large C library with a string copy function that guarantees a NULL-terminated result in all possible cases.



I mean, this ask is technically impossible since you may specify zero length to any of them. At that point signalling an error is the only thing it can do.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: