Synopsis
#include <string.h>
size_t strlen(const char *s);
Description

strlen returns the length of the string pointed to by s, that is the number of characters that precede the terminating null character.

Portability

strlen conforms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).