◐ Shell
clean mode source ↗

std::strlen - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Definido no cabeçalho

<cstring>

size_t strlen( char *str );

Retorna o comprimento da corda byte dado.

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.

Parâmetros

str -

ponteiro para o byte string terminada em nulo para ser examinada

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.

Valor de retorno

O comprimento da string terminada em null 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.

Exemplo

Veja também