home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_10_07 / 1007018a < prev    next >
Text File  |  1992-05-05  |  258b  |  15 lines

  1.  
  2. Listing 5 -- wctomb.c
  3.  
  4. /* wctomb function */
  5. #include <stdlib.h>
  6.  
  7.         /* static data */
  8. char _Wcxtomb = {0};
  9.  
  10. int (wctomb)(char *s, wchar_t wchar)
  11.     {    /* translate wide character to multibyte string */
  12.     return (_Wctomb(s, wchar, &_Wcxtomb));
  13.     }
  14.  
  15.