#include <stdio.h>
#include <wchar.h> int
fwide (FILE *stream int mode);
DESCRIPTION
The
fwide ();
function
determines the orientation of the stream pointed at by
Fa stream .
If the orientation of
Fa stream
has already been determined,
fwide ();
leaves it unchanged.
Otherwise,
fwide ();
sets the orientation of
Fa stream
according to
Fa mode .
If
Fa mode
is less than zero,
Fa stream
is set to byte-oriented.
If it is greater than zero,
Fa stream
is set to wide-oriented.
Otherwise,
Fa mode
is zero, and
Fa stream
is unchanged.
RETURN VALUES
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.