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


fwprintf

Formatted file insertion

Compatibility:

This function is compatible with the following targets:

ANSI

BeOS

EMB/RTOS

Mac OS

Palm OS

Win32


Prototype:
#include <wchar.h>
int   fwprintf(FILE * file, 
  const wchar_t * format, ...);
Parameters:

Parameters for this function are:

file  
FILE *  
A pointer to the output file stream  
format  
wchar_t *  
The format string  
....  
 
Variable arguments  

Remarks:

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

The fwprintf() function writes formatted text to a wide character stream and advances the file position indicator. Its operation is the same as wprintf() with the addition of the stream argument.

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


NOTE

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

Returns the number of arguments written or a negative number if an error occurs

See Also:

"Wide Character and Byte Character Stream Orientation"

"wprintf"


[ 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