repo.or.cz
/
android_tools.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert "Roll NDK to r11c and extract it into its own repository."
[android_tools.git]
/
ndk
/
sources
/
android
/
support
/
src
/
musl-multibyte
/
mbsinit.c
blob
e001d84443664406ad9d3a98ea59afe9316ee552
1
/*
2
* This code was written by Rich Felker in 2010; no copyright is claimed.
3
* This code is in the public domain. Attribution is appreciated but
4
* unnecessary.
5
*/
6
7
#include <wchar.h>
8
9
int
mbsinit
(
const mbstate_t
*
st
)
10
{
11
return
!
st
|| !*(
unsigned
*)
st
;
12
}