WPRINTF_L(3)

NAME
wprintf_l, fwprintf_l, swprintf_l, vfwprintf_l, vswprintf_l, vwprintf_l - formatted wide character output conversion

LIBRARY
libc

SYNOPSIS
#include <stdio.h>
#include <wchar.h>
#include <xlocale.h>
int
fwprintf_l(FILE * restrict stream, locale_t loc, const wchar_t * restrict format, ...);
int
swprintf_l(wchar_t * restrict ws, size_t n, locale_t loc, const wchar_t * restrict format, ...);
int
wprintf_l(locale_t loc, const wchar_t * restrict format, ...);
#include <stdarg.h>
int
vfwprintf_l(FILE * restrict stream, locale_t loc, const wchar_t * restrict format, va_list ap);
int
vswprintf_l(wchar_t * restrict ws, size_t n, locale_t loc, const wchar_t *restrict format, va_list ap);
int
vwprintf_l(locale_t loc, const wchar_t * restrict format, va_list ap);

DESCRIPTION
The above functions are used to convert formatted output in the locale loc. They behave in the same way as the versions without the _l suffix, but use the specified locale rather than the global or per-thread locale. See the specific manual pages for more information.

SEE ALSO
wprintf(3), xlocale(3)

STANDARDS
These functions do not conform to any specific standard so they should be considered as non-portable local extensions.