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


vfwscanf

Read formatted text from a wide-character stream.

Compatibility:

This function is compatible with the following targets:

ANSI

BeOS

EMB/RTOS

Mac OS

Palm OS

Win32


Prototype:
#include <wchar.h>
int vfwscanf(FILE * file, 
  const wchar_t * format_str, va_list arg);
Parameters:

Parameters for this function are:

file  
FILE *  
The stream being read  
format_str  
const wchar_t*  
The format string  
....  
 
Variable arguments  

Remarks:

Performs the same task as fscanf for a wide character type.

Refer to the "wscanf" function for details of the format string.


NOTE

On embedded/ RTOS systems this function only is implemented for stdin, stdout and stderr files.
Return:

vfwscanf() returns the number of items assigned, which can be fewer than provided for in the case of an early matching failure. If an input failure occurs before any conversion, vfwscanf() returns EOF.

See Also:

"Wide Character and Byte Character Stream Orientation"

"fscanf"


[ 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