1STRLEN(3) Linux Programmer's Manual STRLEN(3)234
NAME
6strlen - calculate the length of a string7
SYNOPSIS
9#include <string.h>1011size_t strlen(const char *s);12
DESCRIPTION
14The strlen() function calculates the length of the string s, not15including the terminating `\0' character.16
RETURN VALUE
18The strlen() function returns the number of characters in s.19
CONFORMING TO
21SVr4, 4.3BSD, C89, C99.22
SEE ALSO
24string(3), wcslen(3), wcsnlen(3)252627281993-04-12 STRLEN(3)