Y
Hacker News
new
|
ask
|
show
|
jobs
by
adzm
13 days ago
So, it basically matches the behavior of a string in C, which can also have data in the allocation beyond the null terminator.
I really don't see why this is a problem. It gives out exactly what you give it.
1 comments
kristianp
13 days ago
Not really, the example shows when the output is different/truncated.
link