summaryrefslogtreecommitdiff
path: root/src/PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Include/mbstring.h
blob: 828a326f562f609382b7a3b6c2ccdec3b2c6d41e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _MSL_COMMON_MBSTRING_H
#define _MSL_COMMON_MBSTRING_H

#include "wchar_io.h"

#ifdef __cplusplus
extern "C" {
#endif

static int is_utf8_complete(const char* s, size_t n);
int utf8_to_unicode(wchar_t* pwc, const char* s, size_t n);
int mbtowc(wchar_t* pwc, const char* s, size_t n);
size_t wcstombs(char* dst, const wchar_t* src, size_t n);

#ifdef __cplusplus
}
#endif

#endif /* _MSL_COMMON_MBSTRING_H */