std::strncat — cppreference.com
De cppreference.com
<metanoindex/>
<tbody> </tbody>
| Déclaré dans l'en-tête <cstring> |
||
|
|
||
Ajoute une chaîne d'octets pointée par src à une chaîne d'octets pointée par dest. Au plus count octets sont copiés. La chaîne d'octets qui en résulte est terminée par NULL. Si les chaines d'octets se chevauchent, le comportement est indéfini .
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.
Paramètres
| dest | - | pointeur vers la chaîne d'octets terminée par NULL à ajouter à Original: pointer to the null-terminated byte string to append to The text has been machine-translated via Google Translate. |
| src | - | pointeur vers la chaîne d'octets terminée par NULL à copier Original: pointer to the null-terminated byte string to copy from The text has been machine-translated via Google Translate. |
| count | - | nombre maximum de caractères à copier Original: maximum number of characters to copy The text has been machine-translated via Google Translate. |
Retourne la valeur
dest
Exemple
Voir aussi
concatène deux chaînes Original: concatenates two strings The text has been machine-translated via Google Translate. (fonction) [edit] | |
copie d'une chaîne à l'autre Original: copies one string to another The text has been machine-translated via Google Translate. (fonction) [edit] | |
C documentation for strncat | |