Y
Hacker News
new
|
ask
|
show
|
jobs
by
rurban
3202 days ago
This is what the _chk functions do. In most cases it know the compile-time size of s1. But in dynamic cases the _s functions are far better than the truncating 'n' versions. Read the rationale.