Re:I'm Not a Fan of Strlcpy(3)
by wruza on Monday July 15, 2024 @11:31AM
(#40968760)
Not that C was wise with strings, but slicing strings in general is a bad idea unless you’re doing it strictly at ascii borders, e.g. to capitalize windows disk letter or to split by cr?lf. Modern text is yet another “falsehoods programmers believe in” material.
[ Parent
| on HN ]
There are no comments on this comment yet.