SysTutorials

Man Pages › Section 3

strlen(3)

strlen – calculate the length of a string

Synopsis

#include <string.h>

size_t strlen(const char *s);

Description

The strlen() function calculates the length of the string pointed to by s, excluding the terminating null byte (‘