3.27 Example: unisize

   /*  exsize.c - Sample code for unisize function. 
       Returns the length of the string in bytes, 
       including the terminating NULL.  
   */ 
   
   #include <nunicode.h> 
   #include <assert.h> 
   
   void main(void) 
   { 
      nint i; 
      i = unisize(L"cat"); 
      assert (i==8); 
      i = unisize(L""); 
      assert (i==2); 
   }