std::strlen
From cppreference.com
| C++ Reference | |||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Strings library | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| Null-terminated byte strings | |||||||||||||||||||||||||||||||||||||
| Defined in header <cstring>
|
||
| size_t strlen( char *str ); |
||
Returns the length of the given byte string.
Contents |
[edit] Parameters
| str | - | pointer to the null-terminated byte string to be examined |
[edit] Return value
The length of the null-terminated string str.
[edit] Example
| This section is incomplete Reason: no example |
[edit] See also
| C documentation for strlen
|