memset
De cppreference.com
![]() | Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate. La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí. |
Definido en el archivo de encabezado <string.h> | ||
void* memset(void* dest, int ch, size_t count ); | ||
Convierte el valor a
ch
unsignedchar y lo copia en cada uno de los personajes count
primera del objeto apuntado por dest
. Original:
Converts the value
ch
to unsignedchar 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.
Contenido |
[editar]Parámetros
dest | - | puntero al objeto de llenar 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 | - | llenar 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 que llenar 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]Ejemplo
Esta sección está incompleta Razón: sin ejemplo |
[editar]Ver también
copia un tampón a otro 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. (función) | |
Documentación de C++ para memset |