strxfrm
Da cppreference.com
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Definido no cabeçalho <string.h>
|
||
Transforma a seqüência de bytes terminada em nulo apontado por
src
de acordo com a localidade e copia os caracteres count
primeiro da cadeia transformada em destino, retornando a sua extensão.Original:
Transforms the null-terminated byte string pointed to by
src
according to the current locale and copies the first count
characters of the transformed string to destination, returning its length.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Alternativamente, a função pode ser usada para recuperar somente o comprimento, especificando um ponteiro nulo para
dest
e 0 para count
.Original:
Alternativelly, the function can be used to only retrieve the length, by specifying a null pointer for
dest
and 0 for count
.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Índice |
[editar] Parâmetros
dest | - | ponteiro para o byte string para copiar a cadeia transformada
Original: pointer to the byte string to copy the transformed string to The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
src | - | ponteiro para o byte string terminada em nulo para transformar
Original: pointer to the null-terminated byte string to transform The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
count | - | número máximo de caracteres para transformar
Original: maximum number of characters to transform The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[editar] Valor de retorno
O comprimento da corda transformado, não incluindo o caractere nulo de terminação-.
Original:
The length of the transformed string, not including the terminating null-character.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[editar] Exemplo
Esta seção está incompleta Motivo: sem exemplo |
[editar] Veja também
C++ documentation for strxfrm
|