strncat
De cppreference.com
| Definido en el archivo de encabezado <string>
|
||
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 |
