STRLEN(3)

NAME
strlen() - returns string length

SYNOPSIS
int strlen(string)
char *string;

DESCRIPTION
strlen() returns the length of string in characters. The trailing '\0' byte is NOT counted.

RETURNS
Returns length of string.

NOTES
For allocating space, remember to add one for the NULL.