Previous Page
Next Page

fwscanf

Reads in a formatted data string of wide characters from a file

#include <stdio.h>
#include <wchar.h>
int fwscanf ( FILE * restrict fp , const wchar_t * restrict format , ... );

The fwscanf( ) function is similar to wscanf( ), except that it reads its input from the file referenced by the first argument, fp, rather than from stdin.

Example

See the example for wscanf( ) in this chapter.

See Also

wscanf( ), swscanf( ), wcstod( ), wcstol( ), wcstoul( ), scanf( ), fscanf( ); the wide-character output functions fwprintf( ), wprintf( ), vfwprintf( ), and vwprintf( )


Previous Page
Next Page