|This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.|
Scan wide-character input from standard input (varargs)
#include <wchar.h> #include <stdarg.h> int vwscanf( const wchar_t * format, va_list arg );
- A wide-character string that specifies the format of the input. For more information, see scanf(). The formatting string determines what additional arguments you need to provide.
- A variable-argument list of the additional arguments, which you must have initialized with the va_start() macro.
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The vwscanf() function scans input from the file designated by stdin, under control of the argument format.
The number of input arguments for which values were successfully scanned and stored, or EOF if the scanning reached the end of the input stream before storing any values.