1 2 3 4 5 6 7 8 9 10 11 12 13 14
#include <wchar.h> int mbsinit(const mbstate_t * ps) { if (ps == NULL || *ps == 0) { return 1; } return 0; } /* STDC(199409) */