7.21.6.3 The strlen function

Synopsis

1

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

Description

2

The strlen function computes the length of the string pointed to by s.

Returns

3

The strlen function returns the number of characters that precede the terminating null character.