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


swscanf

Reads a formatted wide character string.

Compatibility:

This function is compatible with the following targets:

ANSI

BeOS

EMB/RTOS

Mac OS

Palm OS

Win32


Prototype:
#include <wchar.h>
int swscanf(const wchar_t * s, 
  const wchar_t * format, ...);
Parameters:

Parameters for this function are:

s  
wchar_t*  
The string being read  
format  
wchar_t*  
The format string  
....  
 
Variable arguments  

Remarks:

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

Return:

Returns the number of items successfully read and converted, which can be fewer than provided for in the event of an early matching failure. If the end of the input string is reached before any conversions are made, EOF is returned.

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

See Also:

"Wide Character and Byte Character Stream Orientation"

"sscanf"


[ 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