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


fputwc

Inserts a single wide character into a file stream.

Compatibility:

This function is compatible with the following targets:

ANSI

BeOS

EMB/RTOS

Mac OS

Palm OS

Win32


Prototype:
#include <wchar.h>
wchar_t  fputwc(wchar_t c, FILE * file);  
Parameters:

Parameters for this function are:

c  
wchar_t  
The character to insert  
file  
FILE *  
A pointer to the output file stream  

Remarks:

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


NOTE

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

Returns the character written if it is successful, and returns WEOF if it fails.

See Also:

"Wide Character and Byte Character Stream Orientation"

"fputc"


[ 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