This example shows how to concatenate a specific number of code elements onto a Unicode string.

#include <stdio.h>
#include <unidef.h>

int main(void) {

UniChar    ucs1[40] = L"computer";
size_t     num_elems = 3;

         UniStrncat(ucs1, (UniChar *)L" program", num_elems);

         return (ULS_SUCCESS);

}


[Back: UniStrncat - Remarks]
[Next: UniStrncat - Topics]