diff options
Diffstat (limited to 'src/wchar/wcrtomb.c')
-rw-r--r-- | src/wchar/wcrtomb.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/wchar/wcrtomb.c b/src/wchar/wcrtomb.c new file mode 100644 index 00000000..f68c2177 --- /dev/null +++ b/src/wchar/wcrtomb.c @@ -0,0 +1,19 @@ +#include <wchar.h> +#include "limits.h" + +size_t wcrtomb(char * restrict s, wchar_t wc, mbstate_t * restrict ps) +{ + char buf[MB_LEN_MAX+1]; + if (s == NULL) { + s = buf; + wc = L'\0'; + } + (void)wc; (void)ps; + + /* do stuff */ + return 0; +} + +/* +STDC(199409) +*/ |