4 ms·
I am out of the loop, but still no strlcpy equivalent? Is it still “just use snprintf”?
by ahoka 3y ago
I am out of the loop, but still no strlcpy equivalent? Is it still “just use snprintf”?
- Joker_vD 3y agoJust use memccpy. Or just don't use NUL-terminated strings, seriously: zero-terminated arrays are very uncommon except when it comes to char arrays in which case they're everywhere.