#include #include int wctomb(char *s, wchar_t wc) { if (!s) return 0; return wcrtomb(s, wc, 0); } #ifdef TEST int main(void) { return 0; } #endif