Espaces de noms
Variantes
Affichages
Actions

strcpy

De cppreference.com
< c‎ | string‎ | byte
 
 
 
Chaînes d'octets à zéro terminal
Fonctions
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Manipulation caractère
Original:
Character manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Conversion aux formats numériques
Original:
Conversions to numeric formats
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
La manipulation de chaînes
Original:
String manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
strcpy
strncpy
strcat
strncat
strxfrm
Examen chaîne
Original:
String examination
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Manipulation de la mémoire
Original:
Memory manipulation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
memchr
memcmp
memset
memcpy
memmove
Divers
Original:
Miscellaneous
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
strerror
 
Déclaré dans l'en-tête <string.h>
char *strcpy( char *dest, const char *src );

Copie la chaîne d'octets pointée par src dans la chaîne d'octets pointée par dest.

Si les chaînes se chevauchent, le comportement est indéfini.

Sommaire

[modifier] Paramètres

dest - pointeur vers la chaîne d'octets vers laquelle copier
src - pointeur vers la chaîne d'octets à caractère nul final à copier

[modifier] Retourne la valeur

dest

[modifier] Exemple

[modifier] Voir aussi

copie d'un certain nombre de caractères d'une chaîne à l'autre
Original:
copies a certain amount of characters from one string to another
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction) [edit]
une copie du tampon à l'autre
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.

(fonction) [edit]