strlen()

NAME

strlen() - find length of string

SYNOPSIS

#include <string.h>

size_t strlen (const char *s)

DESCRIPTION

The strlen(3) function computes the length of the string s.

RETURN VALUES

The strlen(3) function returns the number of characters that precede the terminating NUL character.