MicrOS
strcpy.c File Reference
#include "../string.h"

Functions

char * strcpy (char *destination, const char *source)
 Copy string. More...
 

Function Documentation

◆ strcpy()

char* strcpy ( char *  destination,
const char *  source 
)

Copy string.

Copies the C string pointed by source into the array pointed by destination, including the terminating null character (and stopping at that point).

Parameters
destinationPointer to the destination array where the content is to be copied.
sourceC string to be copied.
Returns
Destination is returned.