Namespaces
Variants
Views
Actions

std::strlen

From cppreference.com
< cpp | string | byte
Revision as of 18:31, 19 April 2012 by P12bot (Talk | contribs)

Template:cpp/string/byte/sidebar

Defined in header <cstring>
size_t strlen( char *str );

Returns the length of the given byte string.

Parameters

str - pointer to the null-terminated byte string to be examined

Return value

the length of the null-terminated string str.

Example