mbtowc.c - scc - simple c99 compiler (HTM) git clone git://git.simple-cc.org/scc (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules (DIR) README (DIR) LICENSE --- mbtowc.c (161B) --- 1 #include <stdlib.h> 2 #include <wchar.h> 3 4 #undef mbtowc 5 6 int 7 mbtowc(wchar_t *restrict pwc, const char *restrict s, size_t n) 8 { 9 return mbrtowc(pwc, s, n, NULL); 10 }