vfwscanf(3S) DG/UX R4.11MU05 vfwscanf(3S)
NAME
vfwscanf, vwscanf, vswscanf - convert formatted wide character input
of a variable argument list
SYNOPSIS
#include <stdarg.h>
#include <stdio.h>
#include <wchar.h>
int vfwscanf(FILE *stream, const wchar_t *format, va_list arg);
int vwscanf(const wchar_t *format, va_list arg);
int vswscanf(wchar_t s, const wchar_t *format,va_list arg);
DESCRIPTION
vfwscanf is equivalent to fwscanf, with the variable argument list
replaced by an arg that has been initialized by the va_start macro.
vwscanf is equivalent to wscanf, with the variable argument list
replaced by an arg that has been initialized by the va_start macro.
vswscanf is equivalent to swscanf, with the variable argument list
replaced by an arg that has been initialized by the va_start macro.
None of these functions invoke va_end on the passed arg. If copying
takes place between objects that overlap, the behavior is undefined.
Errors
vfwscanf, vwscanf and vswscanf return the number of wide characters
transmitted or return a negative value if an error was encountered.
REFERENCES
fwscanf(3S), scanf(3S), setlocale(3C), stdio(3S), write(2)
Licensed material--property of copyright holder(s)