This functions copies source string to destination string. This function is a safe version of strcpy.
Copies specified range from source string to destination string
Prototype
s32 Xil_Strcpy(char *DestPtr, const char *SrcPtr, const u32 Size);
Parameters
The following table lists the Xil_Strcpy function arguments.
| Type | Member | Description |
|---|---|---|
| char * | DestPtr | is pointer to destination string |
| const char * | SrcPtr | is pointer to source string |
| const u32 | Size | is the maximum number of bytes of the source string to be copied |