DOKK / manpages / debian 10 / manpages-pt-dev / strlen.3.pt
STRLEN(3) Linux Programmer's Manual STRLEN(3)

strlen - calculate the length of a string

#include <string.h>

size_t strlen(const char *s);

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

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

SVID 3, POSIX, BSD 4.3, ISO 9899

string(3)

April 12, 1993