[Previous] [Contents] [Next]

fwscanf()

Scan input from a stream

Synopsis:

#include <wchar.h>

int fwscanf( FILE * fp,
             const wchar_t * format, 
             ... );

Library:

libc

Description:

The fwscanf() function scans input from the stream specified by fp, under control of the argument format. Following the format string is a list of addresses to receive values.

The format string is described under the description of the scanf() function. The fwscanf() function is the wide-character version of fscanf().

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:

errno, scanf(), swscanf(), vfwscanf(), vswscanf(), wscanf()


[Previous] [Contents] [Next]