memcpy
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 <string.h>
|
||
| void* memcpy( void* dest, const void* src, size_t count ); |
||
Cópias
count personagens do objeto apontado por src ao objeto apontado por dest. Se os objetos se sobrepõem, o comportamento é indefinido.Original:
Copies
count characters from the object pointed to by src to the object pointed to by dest. If the objects 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 o local de memória para copiar
Original: pointer to the memory location 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 o local de memória para copiar
Original: pointer to the memory location 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 de bytes a serem copiados
Original: number of bytes 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] Exemplo
| This section is incomplete Reason: no example |
[editar] Veja também
| move-se um tampão para o outro Original: moves one buffer 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) | |
| C++ documentation for memcpy
|

