Copies a string, up to and including the trailing '\0'
, into a destination buffer.
char * PL_strcpy(char *dest, const char *src);
The function has these parameters:
dest
src
The function returns a pointer to the buffer specified by the dest
parameter.
If the string specified by src
is longer than the buffer specified by dest
, the buffer will not be null-terminated.