Name
strlen - calculate the length of a string Library
Standard C library ( libc ", " -lc ) 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 ('\e0'). Return Value
The strlen() function returns the number of bytes in the string pointed to by s. Attributes
For an explanation of the terms used in this section, see attributes(7). allbox; lbx lb lb | Interface | Attribute | Value | 
T{ strlen() | T} | Thread safety | MT-Safe | 
Notes
In cases where the input buffer may not contain a terminating null byte, strnlen(3) should be used instead.