strlen()

compute length of string 

Function


SYNOPSIS

#include <string.h>

size_t strlen(const char *s);


DESCRIPTION

The strlen() function computes the length of the string pointed to by s, not including its terminating null character.


PARAMETERS

s 

Points to a null-terminated string.


RETURN VALUES

The function strlen() returns the number of characters in string s that precede its terminating null character.


CONFORMANCE

ANSI/ISO 9899-1990.


MULTITHREAD SAFETY LEVEL

MT-Safe.


PORTING ISSUES

None.


AVAILABILITY

MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
strchr(), strstr()


MKS Toolkit 9.2 Documentation Build 16.