std::strncat
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 <cstring>
|
||
char *strncat( char *dest, const char *src, size_t count ); |
||
Anexa una cadena de bytes que apunta a una cadena
src byte apuntado por dest. En la mayoría de los personajes count se copian. La cadena de bytes resultante es terminada en nulo. Si las cadenas se superponen, el comportamiento no está definido . Original:
Appends a byte string pointed to by
src to a byte string pointed to by dest. At most count characters are copied. The resulting byte string is null-terminated. 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.
You can help to correct and verify the translation. Click here for instructions.
Parámetros
| dest | - | puntero a la cadena de bytes terminada en cero para anexar
Original: pointer to the null-terminated byte string to append to The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| src | - | puntero a la cadena terminada en null byte a copiar
Original: pointer to the null-terminated byte 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 a copiar
Original: maximum number of 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. |
Valor de retorno
dest
Ejemplo
| Esta sección está incompleta Razón: sin ejemplo |
Ver también
| Concatena dos cadenas (función) | |
| Copia una cadena a otra (función) | |
Documentación de C para strncat
| |