find length of string

You're viewing an older version of this page (#3289). View the current version.

View versions (3)

NAME

<span class="Nm" id="strlen">strlen</span>

INTERFACE

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

DESCRIPTION

The strlen function computes the length of the string &#92;c s.

RETURN VALUES

The strlen function returns the number of characters that precede the terminating <span class="Dv">NUL</span> character.

SEE ALSO

String (3)

STANDARDS

The strlen function conforms to