MAX_DEVID_INPUT
wchar_t inputWc[MAX_DEVID_INPUT + 1] = {0};
(void) mbstowcs(inputWc, input, MAX_DEVID_INPUT);