1 /* 2 Copyright (c) 2002 Thomas Fitzsimmons <fitzsim@redhat.com> 3 */ 4 #include <wchar.h> 5 #include <stdlib.h> 6 #include <stdio.h> 7 #include <errno.h> 8 9 int mbsinit(const mbstate_t * ps)10mbsinit(const mbstate_t *ps) 11 { 12 if (ps == NULL || ps->__count == 0) 13 return 1; 14 else 15 return 0; 16 } 17