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:
- Pointer to a buffer. On output, the buffer contains a copy of the string passed in src.
- Pointer to the string to be copied.
The function returns a pointer to the buffer specified by the
If the string specified by
src is longer than the buffer specified by
dest, the buffer will not be null-terminated.