Epic thread cited in N1967 (Annex K removal): https://sourceware.org/ml/libc-alpha/2014-08/threads.html#00133 …
@stephentyrone I hope you just mean str[n]{cpy,cat}. strlen, strchr, strstr, strspn, strcspn, etc. are all pretty damn useful.
-
-
@RichFelker I would keep strnlen. -
@RichFelker (because you need it to convert "legacy" strings to explicit-length, which everything else should use) -
@stephentyrone@richfelker what reasonable length are you going to pass for a "legacy" string? -
@bmastenbrook@RichFelker For most cases a reasonable bound is possible. Otherwise, –1 is equivalent to whatever you do today. -
@stephentyrone@richfelker <-- this is my skeptical face -
@bmastenbrook@RichFelker I'll take skepticism over buffer overflows every time.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.