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 >
Wrap
Text File
|
1992-05-05
|
258b
|
15 lines
Listing 5 -- wctomb.c
/* wctomb function */
#include <stdlib.h>
/* static data */
char _Wcxtomb = {0};
int (wctomb)(char *s, wchar_t wchar)
{ /* translate wide character to multibyte string */
return (_Wctomb(s, wchar, &_Wcxtomb));
}