src/projects/libc/string/strlen.c
size_t strlen(const char* str) {
	size_t len = 0;
	while (str[len])
		len++;
	return len;
}
/*
 * Get string length.
 *
 * Returns the length of the C string str. The length of a C string is determined by the terminating null-character: A
 * C string is as long as the number of characters between the beginning of the string and the terminating null
 * character (without including the terminating null character itself).
 */
Get string length.
Returns the length of the C string str. The length of a C string is determined by the terminating null-character: A
C string is as long as the number of characters between the beginning of the string and the terminating null
character (without including the terminating null character itself).
Get string length . Returns the length of the C string str . The length of a C string is determined by the terminating null - character : A C string is as long as the number of characters between the beginning of the string and the terminating null character ( without including the terminating null character itself ) .
size_t strlen(const char* str) {
	size_t len = 0;
	while (str[len])
		len++;
	return len;
}
size_t strlen ( const char * str ) { size_t len = 0 ; while ( str [ len ] ) len ++ ; return len ; }
Get string length.
Get string length .