mbstowcs_with_check
#define MBSTOWCS(a,b) (void) mbstowcs_with_check((a), (b), MAXPATHLEN)
extern void mbstowcs_with_check(wchar_t *pwcs, const char *s, size_t n);