memset
Da cppreference.com.
![]() |
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
Elemento definito nell'header <string.h>
|
||
void* memset( void* dest, int ch, size_t count ); |
||
Converte il valore di
ch
unsigned char e lo copia in ciascuno dei personaggi count
primi l'oggetto puntato da 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.
Indice |
[modifica] Parametri
dest | - | puntatore all'oggetto da riempire
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 | - | riempire 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 | - | numero di byte da riempire
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. |
[modifica] Valore di ritorno
dest
[modifica] Esempio
This section is incomplete Reason: no example |
[modifica] Vedi anche
copia un buffer all'altro 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. (funzione) | |
C++ documentation for memset
|