The ups and downs of strlcpy()
The ups and downs of strlcpy()
Posted Nov 4, 2013 20:07 UTC (Mon) by rmongiovi (guest, #93769)Parent article: The ups and downs of strlcpy()
Well, golly. I guess we'd better undefine snprintf then.
Or maybe we just ought to admit that even though they aren't perfect, having a consistent suite of routines that work with strings and have a maximum length parameter is a useful thing.
No one is forcing anyone to use these calls. And no one is preventing anyone from checking for truncation after the call. But I will go on record as saying that it's effing annoying to have someone decide for me what's good for me. I'm a grownup who can make that decision for myself.....