Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/v/vswscanf.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/v/vswscanf.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/v/vswscanf.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/v/vswscanf.html on line 8
Scan input from a wide-character string (varargs)
#include <wchar.h>
#include <stdarg.h>
int vswscanf( const wchar_t * ws,
const wchar_t * format,
va_list arg );
- ws
- The wide-character string that you want to read from.
- format
- 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.
- arg
- A variable-argument list of the additional arguments, which you
must have initialized with the
va_start()
macro.
libc
Use the -l c option to
qcc
to link against this library.
This library is usually included automatically.
The vswscanf() function scans input from the string designated by
ws, under control of the argument format.
The vswscanf() function is the wide-character version of
vsscanf(),
and is a “varargs” version of
swscanf().
The number of input arguments for which
values were successfully scanned and stored is returned, or
EOF
when the scanning is terminated by reaching the end of the input string.
ANSI,
POSIX 1003.1
Safety: | |
Cancellation point |
No |
Interrupt handler |
No |
Signal handler |
Read the Caveats |
Thread |
Yes |
It's safe to call vswscanf() in a signal
handler if the data isn't floating point.
fscanf(),
fwscanf(),
scanf(),
sscanf(),
swscanf(),
va_start(),
vfscanf(),
vfwscanf(),
vscanf(),
vsscanf(),
vwscanf(),
wscanf()
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/v/vswscanf.html on line 151
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/v/vswscanf.html on line 151