#define _GNU_SOURCE #include "stdio_impl.h" #include wint_t getwchar_unlocked(void) { return fgetwc_unlocked(stdin); }