2 ms·
I am curious why strlcpy() was not modified to check the length going in and out to check for truncation? I am not a C/C++ guy but that is one question I had wh
by sigzero 12y ago
I am curious why strlcpy() was not modified to check the length going in and out to check for truncation? I am not a C/C++ guy but that is one question I had when he said that was one of the gripes for the function.
- imanaccount247 12y agoBecause its return value already tells you if truncation occurred.