1STRLEN(3)                  Linux Programmer's Manual                 STRLEN(3)
2
3
4

NAME

6       strlen - calculate the length of a string
7

SYNOPSIS

9       #include <string.h>
10
11       size_t strlen(const char *s);
12

DESCRIPTION

14       The  strlen()  function  calculates  the  length  of  the string s, not
15       including the terminating '\0' character.
16

RETURN VALUE

18       The strlen() function returns the number of characters in s.
19

CONFORMING TO

21       SVr4, 4.3BSD, C89, C99.
22

SEE ALSO

24       string(3), wcslen(3), wcsnlen(3)
25

COLOPHON

27       This page is part of release 3.22 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)
Impressum