wint_t getwc_l(FILE *fp, locale_t loc) { /* no need to call NORMALIZE_LOCALE(loc) because fgetwc_l will */ return (fgetwc_l(fp, loc)); }
wint_t fgetwc(FILE *fp) { return fgetwc_l(fp, __get_locale()); }
wint_t getwc_l(FILE *fp, locale_t locale) { return (fgetwc_l(fp, locale)); }
/* * Synonym for fgetwc(). The only difference is that getwc(), if it is a * macro, may evaluate `fp' more than once. */ wint_t getwc(FILE *fp) { return (fgetwc_l(fp, __current_locale())); }
wint_t getwchar_l(locale_t locale) { FIX_LOCALE(locale); return fgetwc_l(stdin, locale); }