Your Browser is not longer supported
Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...
{{viewport.spaceProperty.prod}}
vfwscanf, vswscanf, vwscanf- formatted read of wide character with variable argument list
&pagelevel(4)&pagelevel
Syntax | #include <stdarg.h> #include <stdio.h> #include <wchar.h> int vfwscanf(FILE *stream, const wchar_t *format, va_list ap); int vswscanf(wchar_t *s, const wchar_t *format, va_list ap); int vwscanf(const wchar_t *format, va_list ap); |
Description | vfwscanf() , vscwsanf() and vwscanf() correspond to the functions fwscanf() , swscanf() and wscanf() , respectively, except that instead of being called with a variable number of arguments, they are called with an argument list as defined by stdarg.h . The number of arguments in the argument list and their types are not known at the time of compilation.
Since the vscan functions invoke the va_arg macro, but not the va_end macro, the value of ap after the return is indeterminate. For further description see fwscanf() . |
Return val. | See fwscanf() . |
Errors | See fwscanf() . |
Notes | The macro va_end( ap) should be called after using these functions in order to reset the pointer ap to a defined value so that any subsequent calls to these functions will have the correct initial values. The functions always starts with the first argument in the variable argument list. It is possible to start output from any particular argument by issuing the appropriate number of va_arg calls before calling the scan-function. Each va_arg call advances the position in the argument list by one argument. For more notes see fwscanf() . |
See also | fswcanf() , stdarg.h , stdio.h , varargs.h .
|