3 ms·
slen() returns 1 more than it should, or is it meant to include the '\0'?
by Jare 7y ago
slen() returns 1 more than it should, or is it meant to include the '\0'?
- s-macke 7y agoYes, you are right. This function should behave as the ordinary strlen function. Fixed.