GETWC_L(3) Library Functions Manual GETWC_L(3)

fgetwc_l, getwc_l, getwchar_lget next wide character from input stream

Standard C Library (libc, -lc)

#include <stdio.h>
#include <wchar.h>
#include <xlocale.h>

wint_t
fgetwc_l(FILE *stream, locale_t loc);

wint_t
getwc_l(FILE *stream, locale_t loc);

wint_t
getwchar_l(locale_t loc);

The (), (), and () functions are extended locale versions of the (), (), and () functions, respectively. Refer to their manual pages for details. Also, see xlocale(3) for more information about extended locales.

getwc(3), xlocale(3)

March 11, 2005 macOS 15.0