Linux kernel str*cpy() usage: $ for i in '' n l s; do j=str${i}cpy; echo -en "$j\t"; git grep '\b'"$j"'\b' | grep -Ev '^(Documentation|tools)/' | wc -l ; done strcpy 2490 strncpy 865 strlcpy 2361 strscpy 29
-
-
historically such conversions have error rates in the 5% range... several of which will generate new security holes. buyer be aware basically
-
Yup. :( Too bad we can't use __deprecated any more. ;)
End of conversation
New conversation -
-
-
It's kind of surprising we still don't have stpcpy()/stpncpy().
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.