Updated: April 19, 2023 |
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 );
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.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | Yes |
Signal handler | Yes |
Thread | Yes |