wprintf_l(3)

wprintf_l3

Formatted wide character output conversion

Usage

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

Library

Standard C Library (libc, -lc)

Overview

The wprintf_l(), fwprintf_l(), swprintf_l(), vwprintf_l(), vfwprintf_l(), and vswprintf_l() functions are extended locale versions of the wprintf(), fwprintf(), swprintf(), vwprintf(), vfwprintf(), and vswprintf() functions, respectively. Refer to their manual pages for details. Also, see xlocale(3) for more information about extended locales.

Releases

Unchanged in 135 releases since Mac OS X 10.4.

  1. 10.4–26.5

From Libc 1752.120.2 in macOS 26.5. Parsed by carta from the page's mdoc source.