#include /* Sorry, the Amiga OS locale currently doesn't support * character sets other than ECMA Latin 1, so this is * just a "C" locale function */ int mbtowc(wchar_t *wc,const char *s,size_t n) { if(n&&s) { *wc=*s; return sizeof(wchar_t); } return 0; }