I'm trying to copy a char16_t*
that's passed into a function but haven't found any way to do that.
foo(char16_t* characters) {
char16_t* copiedCharacters;
//copy characters to copiedCharacters
}
I tried to use strncopy()
but it only copies char*
.