Index Index for
Section 9r
Index Alphabetical
listing for S
Bottom of page Bottom of
page

strlen(9r)

NAME

strlen - General: Returns the number of characters in a null-terminated string

SYNOPSIS

int strlen( char *s );

ARGUMENTS

s 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 character size is 1 byte.

RETURN VALUES

The strlen routine returns the number of characters in s, not counting the terminating null character.

Index Index for
Section 9r
Index Alphabetical
listing for S
Top of page Top of
page