◐ Shell
clean mode source ↗

std::strlen – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

definiert in Header

<cstring>

size_t strlen( char *str );

Gibt die Länge des angegebenen Byte-String .

Original:

Returns the length of the given byte string.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parameter

str -

Zeiger auf den nullterminierten Bytestring untersucht werden

Original:

pointer to the null-terminated byte string to be examined

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Rückgabewert

Die Länge des null-terminierten String str .

Original:

The length of the null-terminated string str.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Beispiel

Siehe auch