int fwide(FILE * stream, int mode);
The fwide() function determines the orientation of the stream pointed at
If the orientation of stream has already been determined, fwide() leaves
it unchanged. Otherwise, fwide() sets the orientation of stream according to mode.
If mode is less than zero, stream is set to byte-oriented. If it is
greater than zero, stream is set to wide-oriented. Otherwise, mode is
zero, and stream is unchanged.
The fwide() function returns a value according to orientation after the
call of fwide(); a value less than zero if byte-oriented, a value greater
than zero if wide-oriented, and zero if the stream has no orientation.
The functions conform to ANSI/ISO 9899:1999 'ISO C99'
- ferror(), fgetc(), fgetwc(), fopen(), fputc(), fputwc(), freopen()
PTC MKS Toolkit 10.3 Documentation Build 39.