Retro68/gcc/newlib/libc/stdlib/mbsinit.c

15 lines
207 B
C
Raw Normal View History

2017-04-11 21:13:36 +00:00
#include <reent.h>
#include <wchar.h>
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
int
mbsinit(const mbstate_t *ps)
{
if (ps == NULL || ps->__count == 0)
return 1;
else
return 0;
}