WPRINTF(3) BSD Library Functions Manual WPRINTF(3)
NAME
wprintf, fwprintf, swprintf, vwprintf, vfwprintf, vswprintf -- formatted wide character output conversion
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <stdio.h>
#include <wchar.h>
int
fwprintf(FILE * restrict stream, const wchar_t * restrict format, ...);
int
swprintf(wchar_t * restrict ws, size_t n, const wchar_t * restrict format, ...);
int
wprintf(const wchar_t * restrict format, ...);
#include <stdarg.h>
int
vfwprintf(FILE * restrict stream, const wchar_t * restrict, va_list ap);
int
vswprintf(wchar_t * restrict ws, size_t n, const wchar_t *restrict format, va_list ap);
int
vwprintf(const wchar_t * restrict format, va_list ap);
DESCRIPTION
The wprintf() family of functions produces output according to a format as described below. The wprintf() and vwprintf() functions write
output to stdout, the standard output stream; fwprintf() and vfwprintf() write output to the given output stream; swprintf() and vswprintf()
write to the wide character string ws.
These functions write the output under the control of a format string that specifies how subsequent arguments (or arguments accessed via the
variable-length argument facilities of stdarg(3)) are converted for output.
These functions return the number of characters printed (not including the trailing '