Re:I'm Not a Fan of Strlcpy(3)
by pdpi on Monday July 15, 2024 @10:00AM
(#40967974)
By that metric, C can't represent ASCII correctly either, because there's no particular reason you couldn't have a NUL character somewhere inside a string.
[ Parent
| on HN ]
Indeed it can't. Many developers were bitten by this, and still are; plenty of critical bugs and security vulnerabilities rely on this quirk too.
Technically, C can. It's just C strings that are limited.