wcsncpy
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. |
| Defined in header <wchar.h>
|
||
| wchar_t* wcsncpy( wchar_t* dest, const wchar_t* src, size_t count ); |
||
Cópias de personagens mais
count da cadeia gama apontado por src (incluindo o caractere de terminação nula largura) para matriz de caracteres de largura apontado por dest. Original:
Copies at most
count characters of the wide string pointed to by src (including the terminating null wide character) to wide character array pointed to by dest. 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.
Se
count for atingido antes da src cadeia inteira foi copiado, a matriz de caracteres largo resultante não é nulo terminada.Original:
If
count is reached before the entire string src was copied, the resulting wide character array is not null-terminated.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.
Se, depois de copiar o caractere de terminação nula variedade de
src, count não for atingido, adicionais nulos caracteres largos são escritos para dest até que o total de caracteres count ter sido escrita.Original:
If, after copying the terminating null wide character from
src, count is not reached, additional null wide characters are written to dest until the total of count characters have been written.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.
Se as cordas se sobrepõem, o comportamento é indefinido.
Original:
If the strings overlap, the behavior is undefined.
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 a matriz de caracteres de largura para copiar
Original: pointer to the wide character array to copy 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 a cadeia de largura para copiar
Original: pointer to the wide string to copy from 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 largos para copiar
Original: maximum number of wide characters to copy 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
dest
[editar] Notas
Em uso normal,
count é o tamanho da matriz de destino.Original:
In typical usage,
count is the size of the destination array.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
| This section is incomplete Reason: no example |
[editar] Veja também
| copia uma cadeia ampla para outro Original: copies one wide string to another The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
| copia uma certa quantidade de caracteres de largura entre duas matrizes não sobrepostos Original: copies a certain amount of wide characters between two non-overlapping arrays The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
| C++ documentation for wcsncpy
|

