1STRLEN(3) Linux Programmer's Manual STRLEN(3)
2
3
4
6 strlen - calculate the length of a string
7
9 #include <string.h>
10
11 size_t strlen(const char *s);
12
14 The strlen() function calculates the length of the string s, not
15 including the terminating '\0' character.
16
18 The strlen() function returns the number of characters in s.
19
21 SVr4, 4.3BSD, C89, C99.
22
24 string(3), wcslen(3), wcsnlen(3)
25
27 This page is part of release 3.25 of the Linux man-pages project. A
28 description of the project, and information about reporting bugs, can
29 be found at http://www.kernel.org/doc/man-pages/.
30
31
32
33 1993-04-12 STRLEN(3)