![]() |
![]() |
![]() |
Scan input from a string
#include <wchar.h> #include <stdarg.h> int vswscanf( const wchar_t * ws, const wchar_t * format, va_list arg );
libc
The vswscanf() function scans input from the string designated by ws, under control of the argument format.
The vswscanf() function is equivalent to the swscanf() function, with a variable argument list replaced with arg, which has been initialized using the va_start() macro.
For details about the format string, see scanf(). The vswscanf() function is the wide-character version of vsscanf().
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | Read the Caveats |
Signal handler | Read the Caveats |
Thread | Yes |
It's safe to call vswscanf() in an interrupt handler or signal handler if the data isn't floating point.
fwscanf(), scanf(), swscanf(), va_arg(), va_end(), va_start(), vfwscanf(), wscanf()
![]() |
![]() |
![]() |