source:
trunk/libs/newlib/src/newlib/libc/stdlib/mbsinit.c
@
587
Last change on this file since 587 was 444, checked in by , 6 years ago | |
---|---|
File size: 207 bytes |
Rev | Line | |
---|---|---|
[444] | 1 | #include <reent.h> |
2 | #include <wchar.h> | |
3 | #include <stdlib.h> | |
4 | #include <stdio.h> | |
5 | #include <errno.h> | |
6 | ||
7 | int | |
8 | mbsinit(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.