repo.or.cz
/
newlib-cygwin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git]
/
newlib
/
libc
/
stdlib
/
mbsinit.c
blob
e32369ae1e18e3937c017ce60cd2bed74e421b93
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
}