Espaços nominais
Variantes
Acções

wcsncpy

Da cppreference.com
< c‎ | string‎ | wide

 
 
 
Strings terminadas largura
Funções
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Manipulação personagem
Original:
Character manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Conversões para formatos numéricos
Original:
Conversions to numeric formats
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Manipulação de cadeia
Original:
String manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Manipulação matriz
Original:
Array manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
wmemcpy
wmemmove
wmemcmp
wmemchr
wmemset
 
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.
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.
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.
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.

Í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.

[editar] Exemplo

[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) [edit]
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) [edit]
C++ documentation for wcsncpy