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


getwc

Reads the next character 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>
wchar_t  getwc(FILE * file);  
Parameters:

Parameters for this function are:

file  
FILE *  
The file stream  

Remarks:

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

Return:

Returns the next character from the stream or returns WEOF if the end-of-file has been reached or a read error has occurred.

See Also:

"Wide Character and Byte Character Stream Orientation"

"getc"


[ 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