/* exncat.c - Sample code for unincat.
Append n characters of second string onto first string.
*/
#include <nunicode.h>
#include <assert.h>
void main(void)
{
unicode s1[20];
punicode ret;
unicpy(s1, L"Star");
ret = unincat(s1, L"Fisherman", 4); /* Result is "StarFish" */
assert (unicmp(ret, L"StarFish") == 0);
assert (ret == s1);
}