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

15 lines
207 B
C
Raw Normal View History

#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;
}