Scan formatted wide-character input from stdin
#include <wchar.h> int wscanf( const wchar_t * format, ... );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The wscanf() function scans input from stdin under control of the format argument, assigning values to the remaining arguments. It's the wide-character version of scanf() and uses the same conversions.
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.
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |