Su linux curses.h
wgetch serve a prendere un char di una finestra ncurses quindi dovrebbe stare in quel file header