Although there was nothing wrong with getwc() and putwc(), getwchar() and putwchar() assumed that <stdio.h> had been included before <wchar.h>, which is not allowed by the standard.
putwc(), fputwc(), putwchar(), ungetwc(), fwide().