std::strncat - cppreference.com
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. |
<metanoindex/>
<tbody> </tbody>
| Elemento definito nell'header <cstring> |
||
|
|
||
Aggiunge una stringa di byte puntato da src ad una stringa di byte puntato da dest. Alla maggior parte dei caratteri count vengono copiati. La stringa di byte risultante è terminata da null. Se le stringhe si sovrappongono, il comportamento non è definito.
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.
Parametri
| dest | - | puntatore alla stringa con terminazione null byte da aggiungere Original: pointer to the null-terminated byte string to append to The text has been machine-translated via Google Translate. |
| src | - | puntatore alla stringa con terminazione null byte da cui copiare Original: pointer to the null-terminated byte string to copy from The text has been machine-translated via Google Translate. |
| count | - | il numero massimo di caratteri da copiare Original: maximum number of characters to copy The text has been machine-translated via Google Translate. |
Valore di ritorno
dest
Esempio
Vedi anche
concatena due stringhe Original: concatenates two strings The text has been machine-translated via Google Translate. (funzione) [modifica] | |
copia una stringa in un'altra Original: copies one string to another The text has been machine-translated via Google Translate. (funzione) [modifica] | |
C documentation for strncat | |