[Previous] [Contents] [Index] [Next]

wscanf()

Scan formatted input from stdin

Synopsis:

#include <wchar.h>

int wscanf( const char * format, 
           ... );

Library:

libc

Description:

The wscanf() function scans input from stdin under control of the format argument, assigning values to the remaining arguments. It is the wide-character version of scanf() and uses the same conversions.

Returns:

EOF
Failure; the scanning stopped by reaching the end of the input stream before storing any values.
x
Success; the number of input arguments for which values were successfully scanned and stored.

Classification:

ANSI

Safety:
Cancellation point Yes
Interrupt handler No
Signal handler No
Thread Yes

See also:

fscanf(), sscanf(), vfscanf(), vsscanf()


[Previous] [Contents] [Index] [Next]