1STRLEN(3) Linux Programmer's Manual STRLEN(3)
23
4
NAME
6strlen - calculate the length of a string
7
SYNOPSIS
9#include <string.h>
1011
size_t strlen(const char *s);
12
DESCRIPTION
14The strlen() function calculates the length of the string s, not
15including 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)
2526
27
28
1993-04-12 STRLEN(3)