Determines the orientation of the stream pointed to by stream
.
#include <wchar.h> int fwide(FILE *stream, int mode);
stream
mode
If mode
is greater than zero, the function first attempts to make the stream wide oriented. If mode
is less than zero, the function first attempts to make the stream byte oriented. Otherwise, mode
is zero and the function does not alter the orientation of the stream.
Returns a value greater than zero if, after the call, the stream has wide orientation, a value less than zero if the stream has byte orientation, or zero if the stream has no orientation.
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 6.0 | intime/rt/include/wchar.h | wchar.h | clib.lib |