man.bsd.lv manual page server

Manual Page Search Parameters
WPRINTF_L(3) Library Functions Manual WPRINTF_L(3)

wprintf_l, fwprintf_l, swprintf_l, vfwprintf_l, vswprintf_l, vwprintf_lformatted wide character output conversion

library “libc”

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

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.

wprintf(3), xlocale(3)

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

November 17, 2013 DragonFly-5.6.1