PUTWC_L(3) Library Functions Manual PUTWC_L(3)

fputwc_l, putwc_l, putwchar_loutput a wide character to a stream

Standard C Library (libc, -lc)

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

wint_t
fputwc_l(wchar_t wc, FILE *stream, locale_t loc);

wint_t
putwc_l(wchar_t wc, FILE *stream, locale_t loc);

wint_t
putwchar_l(wchar_t wc, 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.

putwc(3), xlocale(3)

March 11, 2005 macOS 15.2