home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_11_06 / 1106014a < prev    next >
Text File  |  1993-04-12  |  224b  |  14 lines

  1. #include <wchar.h>
  2.  
  3. static wchar_t hirigana = wctype("hirigana");
  4.  
  5. int ishiri(wchar_t *wcs)
  6.     {    /* test each element of string */
  7.     while (*wcs)
  8.         if (!iswctype(*wcs++, hirigana))
  9.             return (0);
  10.     return (1);
  11.     }
  12.  
  13.  
  14.