strlen(9r) strlen(9r)
NAME
strlen - General: Returns the number of characters in a null-terminated string
SYNOPSIS
int strlen(
char *s );
ARGUMENTS
Specifies a pointer to a string (an array of characters terminated by a null character).
DESCRIPTION
The strlen routine returns the number of characters in s. The count does not include the terminating null character. Note that the charac-
ter size is 1 byte.
RETURN VALUES
The strlen routine returns the number of characters in s, not counting the terminating null character.
strlen(9r)