[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
fwscanf

Reads formatted text from a stream.
Compatibility:
This function is compatible with the following targets:
Prototype:
#include <wchar.h>
int fwscanf(FILE * file,
  const wchar_t * format, ...);
Parameters:
Parameters for this function are:
Remarks:
Performs the same task as fscanf function for the wide character type.
The fwscanf() function reads programmer-defined, formatted text from a wide character stream. The function operates identically to the wscanf() function with the addition of the stream argument indicating the stream to read from.
Refer to the "wscanf" function for details of the format string.
On embedded/ RTOS systems this function only is implemented for stdin, stdout and stderr files.
Return:
Returns the number of items read, which can be fewer than provided for in the event of an early matching failure. If the end of file is reached before any conversions are made, EOF is returned.
See Also:
"Wide Character and Byte Character Stream Orientation"
"wscanf"
[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.
Last updated: August 16, 2000