memset
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>
|
||
void* memset( void* dest, int ch, size_t count ); |
||
Converte o valor para
ch
unsigned char e copia-lo em cada um dos personagens count
primeira do objeto apontado por dest
. Original:
Converts the value
ch
to unsigned char and copies it into each of the first count
characters of the object 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.
Índice |
[editar] Parâmetros
dest | - | ponteiro para o objeto para preencher
Original: pointer to the object to fill The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
ch | - | encher byte
Original: fill byte 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 para preencher
Original: number of bytes to fill 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
Esta seção está incompleta Motivo: sem exemplo |
[editar] Veja também
copia um buffer para outro Original: copies 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 memset
|