/* expcpy.c - Sample code for unipcpy function.
Copy string and return pointer to the end of the destination string
*/
#include <nunicode.h>
#include <assert.h>
void main(void)
{
unicode str[50];
punicode p ;
p = unipcpy(str, L"xx");
p = unipcpy(p, L"yy");
p = unipcpy(p, L"zz");
assert(unicmp(str, L"xxyyzz") == 0);
assert( *p == 0); /* Return value points to the terminating null */
}