scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

_mbsset.c (126B)


      1 #include <wchar.h>
      2 
      3 #include "../../libc.h"
      4 
      5 int
      6 _mbsset(mbstate_t *ps, int ch)
      7 {
      8 	ps-count = 1;
      9 	return ps->state[0] = ch;
     10 }