Performs a copying of a zero-terminated string from a source buffer to a destination one. Implements the behaviour of the standard strcpy function of the string.h header.
- Parameters
-
[out] | pDest | is a pointer to a buffer where the string, referenced by the source pointer, is copied to. A size of the buffer is supposed to be enough to hold the entire copy of the string including the terminating zero. Use the strCpy_s function to validate this and some other assumptions. |
[in] | pszSrc | is a zero terminated string to be copied. |
- Returns
- The function returns the value of pDest.
- See also
- strCpy_s;
wcsCpy.