Reference

getwc_l(3)

get next wide character from input stream

NAME

fgetwc_l, getwc_l, getwchar_l – get next wide character from input stream

LIBRARY

Standard C Library (libc, -lc)

SYNOPSIS

#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);

DESCRIPTION

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

SEE ALSO

getwc(3), xlocale(3)