[Previous] [Contents] [Next]

vwscanf()

Scan input from a file

Synopsis:

#include <wchar.h>
#include <stdarg.h>

int vwscanf( const wchar_t * format,
             va_list arg );

Library:

libc

Description:

The vwscanf() function scans input from the file designated by stdin, under control of the argument format.

For details about the format string, see scanf(). The vwscanf() function is the wide-character version of vscanf().

The vwscanf() function is equivalent to wscanf(), with a variable argument list replaced with arg, which has been initialized using the va_start() macro.

Returns:

EOF
Failure; the scanning stopped by reaching the end of the input stream before storing any values.
x
Success; the number of input arguments for which values were successfully scanned and stored.

Classification:

ANSI

Safety:
Cancellation point Yes
Interrupt handler No
Signal handler No
Thread Yes

See also:

errno, fwscanf(), scanf(), swscanf(), va_arg(), va_end(), va_start(), vswscanf(), wscanf()


[Previous] [Contents] [Next]