scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | 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 }