VFWSCANF(3) NEWLIB VFWSCANF(3)NAME
4.71 `vfwscanf', `vwscanf', `vswscanf'--scan and format argument list
from wide character input
SYNOPSIS
#include <stdio.h>
#include <stdarg.h>
int vwscanf(const wchar_t *FMT, va_list LIST);
int vfwscanf(FILE *FP, const wchar_t *FMT, va_list LIST);
int vswscanf(const wchar_t *STR, const wchar_t *FMT, va_list
LIST);
int _vwscanf(struct _reent *REENT, const wchar_t *FMT,
va_list LIST);
int _vfwscanf(struct _reent *REENT, FILE *FP, const wchar_t *FMT,
va_list LIST);
int _vswscanf(struct _reent *REENT, const wchar_t *STR,
const wchar_t *FMT, va_list LIST);
DESCRIPTION
`vwscanf', `vfwscanf', and `vswscanf' are (respectively) variants of
`wscanf', `fwscanf', and `swscanf'. They differ only in allowing their
caller to pass the variable argument list as a `va_list' object (ini‐
tialized by `va_start') rather than directly accepting a variable num‐
ber of arguments.
RETURNS
The return values are consistent with the corresponding functions:
`vwscanf' returns the number of input fields successfully scanned, con‐
verted, and stored; the return value does not include scanned fields
which were not stored.
If `vwscanf' attempts to read at end-of-file, the return value is
`EOF'.
If no fields were stored, the return value is `0'.
The routines `_vwscanf', `_vfwscanf', and `_vswscanf' are reentrant
versions which take an additional first parameter which points to the
reentrancy structure.
PORTABILITY
C99, POSIX-1.2008
SEE ALSOvfwscanf is part of the library. The full documentation for is main‐
tained as a Texinfo manual. If info and are properly installed at your
site, the command
info
will give you access to the complete manual.
NEWLIB April 2010 VFWSCANF(3)