/**
@author: Mathias Van Malderen (tux4life)
*/
size_t strlen(const char *s)
{
    size_t sz = 0;
    while(*s++) sz++;
    return sz;
}
1
Contributor
0
Replies
4
Views
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.