source: trunk/libs/newlib/src/newlib/libc/stdlib/mbsinit.c @ 577

Last change on this file since 577 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 207 bytes
Line 
1#include <reent.h>
2#include <wchar.h>
3#include <stdlib.h>
4#include <stdio.h>
5#include <errno.h>
6
7int
8mbsinit(const mbstate_t *ps)
9{
10  if (ps == NULL || ps->__count == 0)
11    return 1;
12  else
13    return 0;
14}
Note: See TracBrowser for help on using the repository browser.