Calculate the length of a string.

size_t strlen(void)

The strlen() function calculates the length of the string src, not including the terminating '\0' character.

Returns

The strlen() function returns the number of characters in src.