Defined in header <cwchar> int fwide( std::FILE* stream, int mode );
If mode > 0, attempts to make stream wide-oriented. If mode < 0, attempts to make stream byte-oriented. If mode==0, only queries the current orientation of the stream.
If the orientation of the stream has already been decided (by executing output or by an earlier call to fwide), this function does nothing.
Parameters
stream - pointer to the C I/O stream to modify or query mode - integer